Skip to content

chore(security): fix 18 dependency vulnerabilities - #906

Open
anglarett wants to merge 1 commit into
mainfrom
chore/security-deps-autofix
Open

anglarett wants to merge 1 commit into
mainfrom
chore/security-deps-autofix

Conversation

@anglarett

@anglarett anglarett commented Nov 25, 2026 •

Copy link
Copy Markdown

Automated Dependency Security Remediation

This PR was automatically generated by repo-security-autofix to remediate known dependency vulnerabilities in googlemaps/react-wrapper.

Vulnerability Summary

  • Before: 24 vulnerability finding(s)
  • After: 6 vulnerability finding(s)
  • Resolved: 19 finding(s)

Resolved

Severity Package Advisory / CVE Summary
CRITICAL handlebars GHSA-3mfm-83xf-c92r Handlebars.js has JavaScript Injection via AST Type Confusion by tampering @partial-block
HIGH brace-expansion GHSA-v6h2-p8h4-qcjw brace-expansion Regular Expression Denial of Service vulnerability
HIGH browserslist GHSA-c83g-rgw3-j3cx Browserslist: Unbounded memory growth (no cache eviction) via distinct query results, leading to eventual OOM
HIGH flatted GHSA-25h7-pfq9-p65f flatted vulnerable to unbounded recursion DoS in parse() revive phase
HIGH ip-address GHSA-v2v4-37r5-5v8g ip-address has XSS in Address6 HTML-emitting methods
HIGH js-yaml GHSA-h67p-54hq-rp68 JS-YAML: Quadratic-complexity DoS in merge key handling via repeated aliases
HIGH linkify-it GHSA-22p9-wv53-3rq4 LinkifyIt#match scan loop has quadratic algorithmic complexity
HIGH lodash GHSA-r5fr-rjxr-66jc lodash vulnerable to Code Injection via '_.template' imports key names
HIGH markdown-it GHSA-38c4-r59v-3vqw markdown-it is has a Regular Expression Denial of Service (ReDoS)
HIGH minimatch GHSA-3ppc-4f35-3m26 minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern
HIGH picomatch GHSA-3v7f-55p6-f55p Picomatch: Method Injection in POSIX Character Classes causes incorrect Glob Matching
HIGH rollup GHSA-mw96-cpmx-2vgc Rollup 4 has Arbitrary File Write via Path Traversal
HIGH tmp GHSA-52f5-9888-hmc6 tmp allows arbitrary temporary file / directory write via symbolic link 'dir' parameter
HIGH ws GHSA-58qx-3vcg-4xpx ws: Uninitialized memory disclosure
MODERATE ajv GHSA-2g4f-4pwh-qvx6 ajv has ReDoS when using '$data' option
MODERATE baseline-browser-mapping GHSA-w5vr-8v7q-w6rv baseline-browser-mapping process termination on invalid input causes denial of service
MODERATE yaml GHSA-48c2-rrv3-qjmp yaml is vulnerable to Stack Overflow via deeply nested YAML collections
LOW @babel/core GHSA-4x5r-pxfx-6jf8 @babel/core: Arbitrary File Read via sourceMappingURL Comment
LOW @tootallnate/once GHSA-vpq2-c234-7xj6 @tootallnate/once vulnerable to Incorrect Control Flow Scoping

Remaining Vulnerabilities (Manual Review Required)

Severity Package Advisory / CVE Summary Fix Status
CRITICAL tar GHSA-34x7-hfp2-rc4v node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal requires major upgrade: rollup-plugin-filesize@9.1.0
HIGH pacote GHSA-w4pp-8pjf-rmxw pacote is vulnerable to Denial of Service (DoS) via the addGitSha function requires major upgrade: rollup-plugin-filesize@9.1.0
HIGH serialize-javascript GHSA-5c6j-r48x-rmvq Serialize JavaScript is Vulnerable to RCE via RegExp.flags and Date.prototype.toISOString() requires major upgrade: rollup-plugin-terser@4.0.3
HIGH sigstore GHSA-52v5-jr5w-gjxr sigstore's 'certificateOIDs' verification constraints are silently dropped and never enforced requires major upgrade: rollup-plugin-filesize@9.1.0
MODERATE glob GHSA-3g3m-2fjr-6pw4 Glob: AbortSignal cancellation bypass allows post-timeout filesystem traversal requires major upgrade: jest@29.7.0
MODERATE minimatch GHSA-g3hv-75wg-m249 minimatch has potential denial of service via globparts amplification requires major upgrade: typedoc@0.23.25

Dependency Changes

Package From To Semver
@babel/code-frame 7.27.1 7.29.7 minor
@babel/compat-data 7.28.5 7.29.7 minor
@babel/core 7.28.5 7.29.13 minor
@babel/generator 7.28.5 7.29.15 minor
@babel/helper-compilation-targets 7.27.2 7.29.13 minor
@babel/helper-globals 7.28.0 7.29.7 minor
@babel/helper-module-imports 7.27.1 7.29.7 minor
@babel/helper-module-transforms 7.28.3 7.29.14 minor
@babel/helper-plugin-utils 7.27.1 7.29.7 minor
@babel/helper-string-parser 7.27.1 7.29.15 minor
@babel/helper-validator-identifier 7.28.5 7.29.7 minor
@babel/helper-validator-option 7.27.1 7.29.7 minor
@babel/helpers 7.28.4 7.29.15 minor
@babel/parser 7.28.5 7.29.15 minor
@babel/plugin-syntax-typescript 7.27.1 7.29.7 minor
@babel/template 7.27.2 7.29.7 minor
@babel/traverse 7.28.5 7.29.15 minor
@babel/types 7.28.5 7.29.15 minor
@emnapi/core 1.7.1 - removed
@emnapi/runtime 1.7.1 - removed
@emnapi/wasi-threads 1.1.0 - removed
@jest/console 30.2.0 30.5.2 minor
@jest/core 30.2.0 30.5.2 minor
@jest/diff-sequences 30.0.1 30.5.0 minor
@jest/environment 30.0.2, 30.2.0 30.0.2, 30.5.2 minor
@jest/expect 30.2.0 30.5.2 minor
@jest/expect-utils 30.2.0 30.5.2 minor
@jest/fake-timers 30.0.2, 30.2.0 30.0.2, 30.5.2 minor
@jest/get-type 30.1.0 30.5.0 minor
@jest/globals 30.2.0 30.5.2 minor
@jest/pattern 30.0.1 30.0.1, 30.5.0 minor
@jest/reporters 30.2.0 30.5.2 minor
@jest/schemas 30.0.1, 30.0.5 30.0.1, 30.0.5, 30.5.0 minor
@jest/snapshot-utils 30.2.0 30.5.1 minor
@jest/source-map 30.0.1 30.5.2 minor
@jest/test-result 30.2.0 30.5.2 minor
@jest/test-sequencer 30.2.0 30.5.2 minor
@jest/transform 30.2.0 30.5.2 minor
@jest/types 30.0.1, 30.2.0 30.0.1, 30.5.1 minor
@napi-rs/wasm-runtime 0.2.12 - removed
@parcel/watcher - 2.6.0 added
@parcel/watcher-android-arm64 - 2.6.0 added
@parcel/watcher-darwin-arm64 - 2.6.0 added
@parcel/watcher-darwin-x64 - 2.6.0 added
@parcel/watcher-freebsd-x64 - 2.6.0 added
@parcel/watcher-linux-arm-glibc - 2.6.0 added
@parcel/watcher-linux-arm-musl - 2.6.0 added
@parcel/watcher-linux-arm64-glibc - 2.6.0 added
@parcel/watcher-linux-arm64-musl - 2.6.0 added
@parcel/watcher-linux-x64-glibc - 2.6.0 added
...and 107 additional transitive lockfile change(s).

Targeted overrides Applied

  • brace-expansion@1.x -> ^1.1.21
  • tmp -> ^0.2.6

Build & Test Verification

  • PASS npm ci --ignore-scripts: Clean lockfile install succeeded.
  • PASS npm run build: Build succeeded.
  • PASS npm test: Tests passed.

@anglarett anglarett left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Automated Security & AI Dependency Review

Policy Outcome: COMMENT (Manual approval required)
Gemini Model: gemini-3.5-flash | AI Decision: APPROVE | Risk: MEDIUM | Confidence: 90%

Summary

This PR successfully resolves 18 dependency vulnerabilities by updating package-lock.json and adding package.json overrides for brace-expansion and tmp. Build and test suites passed successfully.

Security Impact

Remediates 18 vulnerabilities including CRITICAL Handlebars AST confusion and HIGH ReDoS/XSS issues in brace-expansion, browserslist, flatted, ip-address, js-yaml, linkify-it, lodash, markdown-it, and tmp. 6 vulnerabilities (1 CRITICAL node-tar) remain unpatched due to upstream resolution constraints.

Breaking Change Analysis

Major version jumps are present in transitive dev dependencies including @sinonjs/fake-timers (13 -> 15), babel-plugin-istanbul (7 -> 8), balanced-match (1 -> 4), brace-expansion (1 -> 5), glob (7/8/10 -> 13), and ip-address (9 -> 10). Automated CI tests passed, mitigating breaking change risks for test/build tooling.

Concerns

  • Six vulnerabilities remain unpatched after this update, including a CRITICAL vulnerability in node-tar (GHSA-34x7-hfp2-rc4v) and HIGH severity issues in pacote, serialize-javascript, and sigstore.
  • Multiple major version bumps in lockfile dependencies (glob v13, brace-expansion v5, balanced-match v4) could affect deep transitive behavior.

Recommended Actions

  • Monitor upstream updates for node-tar, pacote, serialize-javascript, and sigstore to address the remaining 6 vulnerabilities.
  • Verify runtime and build pipeline stability in staging environments prior to release deployment.

Verification Checks

  • PASS install (npm ci --ignore-scripts): Clean lockfile install succeeded.
  • PASS build (npm run build): Build succeeded.
  • PASS test (npm test): Tests passed.

Policy Gate Evaluation

  • All 2 modified file(s) are allow-listed dependency files.
  • No direct major semver version upgrades detected.
  • Transitive lockfile major shift(s) noted for AI review: @sinonjs/fake-timers (13.0.5 -> 13.0.5, 15.5.0), babel-plugin-istanbul (7.0.1 -> 8.0.0), balanced-match (1.0.2 -> 4.0.4), brace-expansion (1.1.11, 2.0.1 -> 5.1.0), glob (7.2.3, 8.1.0, 10.5.0 -> 7.2.3, 8.1.0, 10.5.0, 13.0.7), ip-address (9.0.5 -> 10.7.6), lru-cache (5.1.1, 6.0.0, 7.18.3, 10.4.3 -> 5.1.1, 6.0.0, 7.18.3, 10.4.3, 11.5.3), minimatch (3.1.2, 5.1.6, 9.0.5 -> 3.1.5, 5.1.9, 9.0.9, 10.2.6), path-scurry (1.11.1 -> 1.11.1, 2.0.2), react-is (16.13.1, 17.0.2, 18.3.1 -> 16.13.1, 17.0.2, 18.3.1, 19.3.1), test-exclude (6.0.0 -> 7.0.2)
  • All 3 build/test verification check(s) passed.
  • Vulnerabilities reduced from 24 to 6.
  • AI reviewer rated risk as "MEDIUM" (requires "LOW").

Automated remediation via repo-security-autofix.
@anglarett
anglarett force-pushed the chore/security-deps-autofix branch from 481d9e1 to aa201a6 Compare November 25, 2026 15:40

@anglarett anglarett left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Automated Security & AI Dependency Review

Policy Outcome: COMMENT (Manual approval required)
Gemini Model: gemini-3.5-flash | AI Decision: APPROVE | Risk: MEDIUM | Confidence: 85%

Summary

Automated dependency update remediates 18 vulnerabilities with changes strictly confined to package.json and package-lock.json. Build and test verification successfully passed.

Security Impact

Successfully fixes 18 vulnerabilities, including a CRITICAL AST injection in handlebars and HIGH severity issues in brace-expansion, flatted, ip-address, lodash, and tmp (via package overrides). Six vulnerabilities remain unaddressed, notably a CRITICAL arbitrary file overwrite in node-tar (GHSA-34x7-hfp2-rc4v).

Breaking Change Analysis

The PR includes 157 package deltas with several major version upgrades (@sinonjs/fake-timers 13.0.5 to 15.5.0, babel-plugin-istanbul 7.0.1 to 8.0.0, ip-address 9.0.5 to 10.7.6, glob up to 13.0.7). Although automated tests passed, transitive major bumps should be monitored for subtle regressions in dev/test toolchains.

Concerns

  • One CRITICAL vulnerability in node-tar (GHSA-34x7-hfp2-rc4v) and three HIGH vulnerabilities (pacote, serialize-javascript, sigstore) remain unresolved after this update.
  • Multiple major semver jumps introduced across transitive tooling dependencies.

Recommended Actions

  • Investigate dedicated overrides or updates to remediate the remaining node-tar CRITICAL vulnerability (GHSA-34x7-hfp2-rc4v).
  • Ensure test suites cover mock timer and coverage generation functionality influenced by major devDependency updates (@sinonjs/fake-timers, babel-plugin-istanbul).

Verification Checks

  • PASS install (npm ci --ignore-scripts): Clean lockfile install succeeded.
  • PASS build (npm run build): Build succeeded.
  • PASS test (npm test): Tests passed.

Policy Gate Evaluation

  • All 2 modified file(s) are allow-listed dependency files.
  • No direct major semver version upgrades detected.
  • Transitive lockfile major shift(s) noted for AI review: @sinonjs/fake-timers (13.0.5 -> 13.0.5, 15.5.0), babel-plugin-istanbul (7.0.1 -> 8.0.0), balanced-match (1.0.2 -> 1.0.2, 4.0.4), brace-expansion (1.1.11, 2.0.1 -> 1.1.22, 2.1.8, 5.1.0), glob (7.2.3, 8.1.0, 10.5.0 -> 7.2.3, 8.1.0, 10.5.0, 13.0.7), ip-address (9.0.5 -> 10.7.6), lru-cache (5.1.1, 6.0.0, 7.18.3, 10.4.3 -> 5.1.1, 6.0.0, 7.18.3, 10.4.3, 11.5.3), minimatch (3.1.2, 5.1.6, 9.0.5 -> 3.1.5, 5.1.9, 9.0.9, 10.2.6), path-scurry (1.11.1 -> 1.11.1, 2.0.2), react-is (16.13.1, 17.0.2, 18.3.1 -> 16.13.1, 17.0.2, 18.3.1, 19.3.1), test-exclude (6.0.0 -> 7.0.2)
  • All 3 build/test verification check(s) passed.
  • Vulnerabilities reduced from 24 to 6.
  • AI reviewer rated risk as "MEDIUM" (requires "LOW").

This branch has not been deployed

No deployments
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