Skip to content

chore: fix high-severity npm vulnerabilities via pnpm overrides - #768

Merged
theodesp merged 1 commit into
mainfrom
security/fix-high-severity-vulnerabilities
Aug 28, 2026
Merged

chore: fix high-severity npm vulnerabilities via pnpm overrides#768
theodesp merged 1 commit into
mainfrom
security/fix-high-severity-vulnerabilities

Conversation

@theodesp

Copy link
Copy Markdown
Member

Summary

  • Fixes all fixable HIGH-severity npm advisories by updating and adding pnpm.overrides in package.json
  • Regenerated pnpm-lock.yaml to reflect patched versions
  • One HIGH advisory (extract-zip <=2.0.1) has no upstream fix available and cannot be resolved

Vulnerabilities Fixed

Package Old pin / range Fixed to Advisory
tmp 0.2.5 (pinned to vuln version) 0.2.7 Path traversal + type-confusion bypass
fast-uri (v3) 3.1.2 3.1.5 Three host-confusion advisories
fast-uri (v4) (missing) 4.1.2 Host confusion via backslash
ip-address @<=10.1.0 only 10.3.1 (all versions) SSRF via leading-zero octet decoding
webpack-dev-server 5.2.3 (vuln) 5.2.6 Was pinned to a vulnerable version
linkify-it (missing) 5.0.2 Quadratic DoS
ws (missing) 8.21.0 Memory exhaustion DoS
adm-zip (missing) 0.6.0 4GB memory allocation
brace-expansion v1 (missing) 1.1.18 Unbounded expansion DoS
brace-expansion v2 (missing) 2.1.4 Unbounded expansion DoS
brace-expansion v4 (missing) 5.0.9 Unbounded expansion DoS
js-yaml (v3 only) (missing) 3.15.1 Quadratic CPU via !!omap
nanoid (missing) 3.3.18 Infinite loop DoS
postcss (missing) 8.5.23 Source map path traversal
svgo (missing) 3.3.4 removeScripts plugin bypass

Test plan

  • pnpm install completes without errors
  • pnpm audit reports 0 HIGH vulnerabilities (only extract-zip HIGH with no fix remains)
  • Existing build/test scripts are unaffected (all overrides are within compatible semver ranges)

🤖 Generated with Claude Code

Resolves all fixable HIGH-severity advisories in transitive dependencies.
The one unfixable HIGH (extract-zip <=2.0.1) has no upstream patch available.

Fixed overrides:
- tmp: 0.2.5 → 0.2.7 (path traversal + type-confusion bypasses)
- webpack-dev-server: 5.2.3 → 5.2.6 (was pinned to vulnerable version)
- ip-address: consolidated to 10.3.1 (covers new <=10.3.0 advisory)
- fast-uri@<4.0.0: 3.1.2 → 3.1.5 (three cascading host-confusion advisories)

New overrides:
- linkify-it@5.0.2 (quadratic DoS)
- ws@>=8.0.0<8.21.0 → 8.21.0 (memory exhaustion DoS)
- adm-zip@<0.6.0 → 0.6.0 (4GB allocation)
- brace-expansion v1/v2/v4 → 1.1.18/2.1.4/5.0.9 (unbounded expansion DoS)
- js-yaml@>=3.0.0<3.15.1 → 3.15.1 (quadratic CPU, v3 only)
- nanoid@>=3.0.0<3.3.18 → 3.3.18 (infinite loop DoS)
- postcss@>=8.0.0<=8.5.22 → 8.5.23 (source map path traversal)
- svgo@>=3.0.0<3.3.4 → 3.3.4 (script injection bypass)
- fast-uri@>=4.0.0<4.1.2 → 4.1.2 (host confusion via backslash)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Aug 28, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 4f5a97e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@theodesp theodesp changed the title security: fix high-severity npm vulnerabilities via pnpm overrides chore: fix high-severity npm vulnerabilities via pnpm overrides Aug 28, 2026
@theodesp
theodesp added this pull request to the merge queue Aug 28, 2026
Merged via the queue into main with commit e665908 Aug 28, 2026
3 of 4 checks passed
@theodesp
theodesp deleted the security/fix-high-severity-vulnerabilities branch August 28, 2026 10:13
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.

2 participants