Skip to content

fix(deps): hold sharp at 0.35.5 and source-map-js at 1.2.2 for two high advisories - #1581

Merged
cevheri merged 1 commit into
mainfrom
fix/deps-sharp-source-map-js
Oct 7, 2026
Merged

cevheri merged 1 commit into
mainfrom
fix/deps-sharp-source-map-js

Conversation

@cevheri

@cevheri cevheri commented Oct 7, 2026

Copy link
Copy Markdown
Member

Holds two transitive dependencies at the releases that fix high advisories Trivy reports on main.

  • sharp 0.35.5 (GHSA-wq5f-xc86-pv6w, librsvg in sharp's libvips): next asks for ^0.35.4 as an optional dependency.
  • source-map-js 1.2.2 (GHSA-68fv-2mgg-jv7q, an event-loop denial of service): postcss and @tailwindcss/node ask for ^1.2.1.

Both fixes sit inside the parents' ranges, so the overrides only force resolution forward and go once the parents raise their floors; the //overrides note in package.json says so. bun install regenerated the lockfile, which changes only these packages.

Left out on purpose:

  • dompurify 3.4.15 (GHSA-6688-9rhm-gjv2, low): monaco-editor 0.57.0, the latest release, pins it and inlines it in its bundle, so an override would change the lockfile and not the code served.
  • sprintf-js (no fixed release yet), and http-cache-semantics and postcss-selector-parser in the runtime image's bundled npm, which need an image change of their own.

Verified: the full gate set, and sharp 0.35.5 (libvips 8.18.7) loads and converts an image.

…gh advisories

sharp 0.35.5 fixes GHSA-wq5f-xc86-pv6w (librsvg in sharp's libvips) and
source-map-js 1.2.2 fixes GHSA-68fv-2mgg-jv7q (event-loop denial of
service). Both are inside their parents' ranges, so the overrides only
force resolution forward; the //overrides note says when to drop them.
bun.lock regenerated by bun install.
@codecov

codecov Bot commented Oct 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@sonarqubecloud

sonarqubecloud Bot commented Oct 7, 2026

Copy link
Copy Markdown

@cevheri
cevheri merged commit 6555977 into main Oct 7, 2026
36 checks passed
@cevheri
cevheri deleted the fix/deps-sharp-source-map-js branch October 7, 2026 13:41
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.

1 participant