maziggy 1 неделя назад
Родитель
Сommit
f52e891502
1 измененных файлов с 5 добавлено и 1 удалено
  1. 5 1
      CHANGELOG.md

+ 5 - 1
CHANGELOG.md

@@ -65,7 +65,11 @@ All notable changes to Bambuddy will be documented in this file.
 - **A printer whose file service hangs during a print is no longer asked again and again until it refuses every upload (#3474, reported by @F9mm)** — When the card could not be read at print start, the timelapse baseline was read again every two minutes for the whole print, and each round walked the card twice: up to eight new FTPS connections, each hanging for 30 s against a hung printer. An H2S kept a session for every one of them, then answered every connection with "421 There are too many connections", and no queued job could reach it until the printer was restarted. The card is now read once per round. It is read again only while the print records a timelapse, the wait doubles after each failed round (up to 30 minutes), and it stops after five. A connection or listing that times out now pauses the background timelapse scans of that printer for five minutes. Opening files and sending prints are not held up by this. A printer that answers "421 too many connections" now gets its own message in the queue, saying it may need a restart, instead of "Bambuddy will retry automatically". Wiki updated.
 
 ### Security
-
+- **Slicer sidecar images: dependency updates and no build tools in the image (#3530, reported and fixed by @pleasantone)** — The sidecars' package lock dated from April, so every image rebuild shipped the same published advisories. All fixes are within the declared version ranges:
+  - **Reachable through the sidecar API:** multer 2.5.0, which handles every upload (GHSA-72gw-mp4g-v24j, GHSA-wc9g-mqfw-jrwm, GHSA-535w-7cp7-47q4, GHSA-q7qp-rjg7-q26m, GHSA-3p4h-7m6x-2hcm, GHSA-qvfw-j98x-7q72: denial of service and an upload size check that could be bypassed); body-parser 2.4.0 (GHSA-27r3-jxmh-p828, GHSA-v422-hmwv-36x6), path-to-regexp 8.4.2 (GHSA-j3q9-mxjg-w52f, GHSA-27v5-c462-wpq7) and qs (GHSA-q8mj-m7cp-5q26, GHSA-x5fp-wj9c-mxmx, GHSA-4mjr-xmp4-gh2g, GHSA-6pq8-jhm2-2vcw), which parse every request: denial of service.
+  - **Present, not reachable:** proxy-addr 2.0.8 (GHSA-jqcg-44mw-7w3h): the sidecar does not trust proxy headers, so the address check it fixes is never used. lodash 4.18.1 (GHSA-r5fr-rjxr-66jc, GHSA-f23m-r3pf-42rh) and brace-expansion are only used inside archiver when it packs the result file, never with request data.
+  - **Not shipped any more:** the images carried the whole build and test toolchain (vitest, vite, eslint, typescript and their dependencies, including vitest GHSA-5xrq-8626-4rwp, vite, postcss, picomatch, nanoid, flatted, source-map-js, js-yaml and form-data advisories), plus npm, npx and corepack. None of it ran in the sidecar. The images now contain only what the API runs: 170 packages instead of 285.
+  - **Left over:** two moderate advisories in glob and minimatch under archiver 7 (GHSA-3g3m-2fjr-6pw4, GHSA-g3hv-75wg-m249). The fix needs archiver 8, a major version. archiver uses them only to pack the result file, with no request data.
 
 ## [1.3.0] - 2026-10-06