Skip to content

deps: resolve all 22 open Dependabot alerts - #16

Open
Mbareck21 wants to merge 1 commit into
mainfrom
deps/dependabot-2026-08
Open

deps: resolve all 22 open Dependabot alerts#16
Mbareck21 wants to merge 1 commit into
mainfrom
deps/dependabot-2026-08

Conversation

@Mbareck21

Copy link
Copy Markdown
Owner

Clears all 22 open Dependabot alerts.

Seven of the eight packages only needed a lockfile refresh — their existing ranges already admitted the patched versions. sharp was the exception: next declares sharp: ^0.34.3, and a caret on a 0.x version never crosses to 0.35, so it can't float. It's pinned via a new overrides entry.

Package Was Now Alerts
next 15.5.20 15.5.23 8 — SSRF in rewrites & Server Actions, Server Action DoS, cache confusion, image-optimization SVG DoS
next-auth 4.24.14 4.24.15 3 — incl. critical homoglyph @ bypass in the email normalizer
ip-address 10.2.0 10.5.0 3 — SSRF / trust-boundary bypasses
postcss 8.5.16 8.5.26 2 — sourceMappingURL path traversal
nanoid 3.3.15 3.3.18 2 — infinite-loop DoS
brace-expansion 1.1.15 1.1.18 2 — unbounded expansion OOM
sharp 0.34.5 0.35.3 1 — inherited libvips CVEs
js-yaml 4.3.0 4.3.1 1 — quadratic CPU in !!omap

Changes

  • package.json — direct-dep floors raised (next, next-auth, postcss, eslint-config-next) so a fresh install can't regress, plus "sharp": "^0.35.0" in overrides.
  • package-lock.json — regenerated.

No source files touched.

Verification

  • npm audit0 vulnerabilities
  • npm run build → compiles clean, all 10 routes generate
  • sharp 0.35.3 smoke-tested directly (loads, libvips 8.18.3, encodes) — the override puts it outside the range Next declares, so it was the one real risk

Note on brace-expansion

The tree carries two independent lines: 1.x under minimatch (prod) and 5.x under @typescript-eslint/typescript-estree (dev). Only the 1.x line was vulnerable and it floats to a patched version on its own. A blanket brace-expansion override would force the 5.x consumer down to 1.x and break it — deliberately not done.

Refresh the lockfile onto patched versions and add a sharp override.

- next 15.5.20 -> 15.5.23 (8 alerts: SSRF in rewrites/Server Actions,
  Server Action DoS, cache confusion, image-optimization SVG DoS)
- next-auth 4.24.14 -> 4.24.15 (3 alerts, incl. critical homoglyph @
  bypass in the email normalizer)
- sharp 0.34.5 -> 0.35.3 via overrides (libvips CVEs; next pins ^0.34.3
  so it cannot float on its own)
- ip-address 10.2.0 -> 10.5.0 (3 SSRF / trust-boundary bypasses)
- postcss 8.5.16 -> 8.5.26 (sourceMappingURL path traversal)
- nanoid 3.3.15 -> 3.3.18, brace-expansion 1.1.15 -> 1.1.18,
  js-yaml 4.3.0 -> 4.3.1 (DoS)

Direct-dep floors in package.json bumped so fresh installs cannot
regress. npm audit reports 0 vulnerabilities; next build passes.
@vercel

vercel Bot commented Aug 19, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
immigration_db Ready Ready Preview Aug 19, 2026 2:12pm

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