fix(deps): resolve Dependabot security alerts — 22 of 22 fixable addressed - #421
Merged
Conversation
…date Brings the open alert count from 22 down to the 4 that are genuinely unfixable (see below). Also dismissed alert #316 (uuid) as tolerable_risk. New overrides added: - brace-expansion <=1.1.17 → 1.1.18 (DoS — GHSA-mh99) - brace-expansion >=2.0.0 <3 → 2.1.4 (same) - brace-expansion >=4.0.0 <5.0.9 → 5.0.9 (DoS — GHSA-rgw5) - dompurify → ^3.4.13 (via mermaid, multiple XSS/proto-pollution CVEs) - fast-uri → ^3.1.5 (host confusion — GHSA-429) - ip-address → ^10.3.1 (SSRF bypass — GHSA-417/418/433) - minimatch@<3.1.4 → 3.1.4 (ReDoS — GHSA-229/new) - minimatch@>=9.0.0 <9.0.7 → 9.0.7 (ReDoS — GHSA-233) - picomatch → ^4.0.5 (method injection — GHSA-259) - postcss → ^8.5.23 (path traversal — GHSA-408/427) - socket.io-parser → ^4.2.7 (memory exhaustion — GHSA-428) Updated overrides: - js-yaml ^4.2.0 → ^4.3.1 (quadratic CPU DoS in 4.0.0–4.3.0) - npm ^11.17.0 → ^11.19.0 (latest, improved bundled-dep fixes) - tar ^7.5.16 → ^7.5.21 (uncontrolled recursion DoS <=7.5.20) - undici ^7.28.0 → ^7.29.0 (response desync, CRLF, cookie injection) Direct dep bump: - mermaid ~11.16.0 → ~11.16.1 (fixes prototype pollution, CSS injection, XSS infinite-loop DoS, radar diagram DoS) Unfixable (4 remaining high/moderate alerts, accepted): - npm-bundled brace-expansion, ip-address, undici: inside the npm CLI tarball; package.json overrides cannot reach node_modules/npm/node_modules/ - @nx-dotnet/core nested nx@21.4.1 (nx graph CORS, zip-slip): @nx-dotnet v3 uses nx@21 APIs; a forced nx@23 nested override would break it. Will resolve when @nx-dotnet/core v4 (nx@23 support) is available. Supersedes open Dependabot PRs #405 (fast-uri), #406 (socket.io-parser), #415 (postcss + angular-devkit). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…gression
minimatch@3.1.4 introduced a regression in partial directory matching (matcher.match('src', true)
returns false for '**/*.ts') that breaks ESLint 9.x's deepFilter in flat config file traversal,
causing the lint executor to find no files. Scope the override to <3.1.5 -> 3.1.5 to skip the
broken version.
picomatch@>=4.0.0 <4.0.4 was the actual vulnerable range (GHSA-259). The previous global
'picomatch' override forced anymatch/micromatch from their required 2.x to 4.x, which has an
incompatible API. Scope the override so only 4.x instances below 4.0.4 are affected.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brings the open Dependabot alert count from 22 down to 4 that are genuinely unfixable without breaking changes. Dismissed alert #316 (uuid) as tolerable_risk.
49 → 18 vulnerabilities in
npm audit(all 18 remaining are unfixable — see below).What changed
New overrides in
package.jsonbrace-expansion≤1.1.17brace-expansion>=2.0.0 <3brace-expansion>=4.0.0 <5.0.9dompurifyfast-uriip-addressminimatch<3.1.4minimatch>=9.0.0 <9.0.7picomatchpostcsssocket.io-parserUpdated overrides
js-yaml: ^4.2.0 → ^4.3.1 (quadratic CPU DoS in 4.0.0–4.3.0)npm: ^11.17.0 → ^11.19.0 (latest, for npm-bundled dep improvements)tar: ^7.5.16 → ^7.5.21 (uncontrolled recursion DoS ≤7.5.20)undici: ^7.28.0 → ^7.29.0 (response desync, CRLF, cookie injection)Direct dep bump
mermaid: ~11.16.0 → ~11.16.1 (fixes prototype pollution, CSS injection, XSS DoS, radar DoS)Existing overrides checked — all still needed
All overrides added in June 2026 (
ec7a38f) remain valid: they guard against transitive deps that still request older vulnerable ranges of@angular/compiler,@babel/core,esbuild,form-data,http-proxy-middleware,joi,piscina,tmp,webpack-dev-server, andws.Unfixable (4 alerts remain open)
brace-expansioninnode_modules/npm/node_modules/package.jsonoverrides cannot reach insidenode_modules/npm/node_modules/. Only fixable by npm publishing an updated CLI with patched bundled deps.ip-addressinnode_modules/npm/node_modules/nx@21.4.1in@nx-dotnet/core/node_modules/@nx-dotnet/core@3.xdepends on nx@21 internally; a forced nx@23 nested override would break it. Will resolve when@nx-dotnet/core@4(nx@23+ support) is available.Alert dismissed
tolerable_risk. This is a dev-only transitive dep viasockjs→webpack-dev-server. The vulnerability requires the optionalbufparameter inv3/v5/v6API calls; sockjs uses uuid for session-ID generation without a pre-allocated buffer. Upgrading from uuid 8.x to 11.x is a breaking API change that risks breaking sockjs.Supersedes
Open Dependabot PRs #405 (fast-uri 3.1.5), #406 (socket.io-parser 4.2.7), and #415 (postcss + angular-devkit bump) are all superseded by this PR's overrides. They can be closed once this lands.
Test plan
nx run-many -t lint,test,buildpasses (all 5 packages, no regressions)npm audit --audit-level=highoutput reviewed — all 18 remaining are confirmed unfixable via overrides🤖 Generated with Claude Code