Skip to content

chore(deps): bump tar to 7.5.20 to resolve critical DoS advisory - #17522

Merged
nickskalkin merged 1 commit into
mainfrom
chore/bump-tar-security
Jul 28, 2026
Merged

chore(deps): bump tar to 7.5.20 to resolve critical DoS advisory#17522
nickskalkin merged 1 commit into
mainfrom
chore/bump-tar-security

Conversation

@nickskalkin

Copy link
Copy Markdown
Contributor

Assisted-by: Claude noreply@anthropic.com

The type of this PR is: Chore

Description

yarn npm audit --severity critical --recursive fails with:

└─ tar
   ├─ ID: 1123940
   ├─ Issue: node-tar: Decompression/parse DoS via unlimited input
   ├─ URL: https://github.com/advisories/GHSA-23hp-3jrh-7fpw
   ├─ Severity: critical
   ├─ Vulnerable Versions: <=7.5.18
   │ 
   ├─ Tree Versions
   │  ├─ 6.2.1
   │  └─ 7.4.3
   │ 
   └─ Dependents
      ├─ cacache@npm:18.0.4
      └─ node-gyp@npm:11.4.2

Exited with code exit status 1

Added two resolutions in package.json:

  • tar@npm:^7.4.3 -> 7.5.20 — patched (>= 7.5.19). Not 7.5.22 because 7.5.21+ is still inside the repo's 10-day npmMinimalAgeGate quarantine.
  • make-fetch-happen@npm:^13.0.1 -> ^14.0.3 — pushes unleash-client onto cacache@19 (tar 7), removing the unpatched tar@6.2.1 (no 6.x backport exists). Avoids a global tar override that would break cacache@18 (written against the tar 6 API).

Resolves GHSA-23hp-3jrh-7fpw (node-tar DoS via unlimited input,
critical). tar was pulled transitively only through build/install
tooling:

- node-gyp@11 → tar@7.4.3
- unleash-client@6 → make-fetch-happen@13 → cacache@18 → tar@6.2.1

Added two resolutions:
- tar@npm:^7.4.3 → 7.5.20 (patched, ≥7.5.19; 7.5.21+ still under the
  10-day npmMinimalAgeGate quarantine)
- make-fetch-happen@npm:^13.0.1 → ^14.0.3, which pulls cacache@19
  (tar 7) and drops the unpatched tar@6.2.1 line entirely

`yarn npm audit --severity critical --recursive` is now clean.

Assisted-by: Claude <noreply@anthropic.com>
@nickskalkin nickskalkin self-assigned this Jul 28, 2026
@nickskalkin
nickskalkin merged commit 152899e into main Jul 28, 2026
14 checks passed
@nickskalkin
nickskalkin deleted the chore/bump-tar-security branch July 28, 2026 07:20
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