Skip to content

fix(backend): bump multer to 2.4.0 (GHSA-3pph-fpjx-jg34) - #33

Merged
Arluigi merged 1 commit into
mainfrom
fix/multer-advisory
Sep 29, 2026
Merged

Arluigi merged 1 commit into
mainfrom
fix/multer-advisory

Conversation

@Arluigi

@Arluigi Arluigi commented Sep 29, 2026

Copy link
Copy Markdown
Owner

npm audit --audit-level=low has failed the backend CI job since GHSA-3pph-fpjx-jg34 was published against multer 2.2.0–2.3.0 (denial of service via orphaned disk writes on aborted uploads).

  • Bumps multer to ^2.4.0. The lockfile drops only multer's old concat-stream dependency chain.
  • The photo route uses multer.memoryStorage(), so the disk-write path was never reachable here; this is hygiene plus unblocking CI.

Verification: npm audit reports 0 vulnerabilities; npm test 234/234 (including photo-capture and security upload tests); npm run build clean.

🤖 Generated with Claude Code

The advisory is about orphaned disk writes on aborted uploads. The photo route
uses memoryStorage, so it was not exploitable here, but npm audit fails CI.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings September 29, 2026 00:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Arluigi
Arluigi merged commit bf2d773 into main Sep 29, 2026
10 checks passed
@Arluigi
Arluigi deleted the fix/multer-advisory branch September 29, 2026 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants