Skip to content

bug: move Dockerfile base image to node:22.23.2-bookworm (fixes imagemagick CVE-2026-25987) - #260

Open
devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1788294732-imagemagick-cve-2026-25987-base-image
Open

devin-ai-integration[bot] wants to merge 1 commit into
mainfrom
devin/1788294732-imagemagick-cve-2026-25987-base-image

Conversation

@devin-ai-integration

Copy link
Copy Markdown

Summary

Snyk Container SNYK-DEBIAN11-IMAGEMAGICK-15339622 / CVE-2026-25987 (heap over-read in the ImageMagick MAP decoder, CVSS 9.1): FROM node:18.13.0 is a Debian 11 image shipping imagemagick 8:6.9.11.60+dfsg-1.3. The app shells out to identify on user-supplied input (routes/index.js), so the vulnerable decoder is reachable.

-FROM node:18.13.0
+FROM node:22.23.2-bookworm

Why not the tags used by sibling PRs / Snyk's suggestion:

Compatibility: NODE_OPTIONS=--openssl-legacy-provider in npm start still works on Node 22; verified locally that app.js boots under Node 22.12 (only a util._extend deprecation warning). Conflicts with the sibling base-image PRs on the same line; whichever lands, this tag should be preferred since the 18.x one no longer receives security rebuilds.


Devin session (requested by automation)

Devin-Org: engineering

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.

0 participants