Skip to content

Commit 2246a9b

Browse files
committed
fix(security): pin tar to 7.5.20 for CVE-2026-59873
Every tar release <= 7.5.18 is vulnerable to a decompression/parse DoS via unlimited input (GHSA-23hp-3jrh-7fpw, CRITICAL). tar bounds neither the volume of data it will decompress nor the size of a parsed entry, so a small crafted archive can exhaust memory or CPU in the consuming process. Fixed upstream in 7.5.19. Because the whole 6.x line is affected too, there is no safe older major to preserve, so the existing range-scoped override keys are replaced by a single unscoped `tar` key - no declared spec can escape it. The previous redirect targets were themselves inside the vulnerable range. Pinned to 7.5.20 rather than the newest 7.5.22: 7.5.20 is the newest release old enough to clear the repo minimumReleaseAge supply-chain gate.
1 parent ee84094 commit 2246a9b

2 files changed

Lines changed: 11 additions & 7 deletions

File tree

pnpm-lock.yaml

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ blockExoticSubdeps: true
1919
# Security CVE pins migrated verbatim from the former package.json#pnpm.overrides
2020
overrides:
2121
"bigint-buffer": "npm:bigint-buffer-fixed@^1.1.5"
22-
"tar": ">=7.5.11"
22+
# GHSA-23hp-3jrh-7fpw / CVE-2026-59873 (CRITICAL): every tar <= 7.5.18 is
23+
# vulnerable to a decompression/parse DoS via unlimited input, so the old
24+
# `>=7.5.11` floor still resolved into the vulnerable range (7.5.16). Pinned
25+
# exactly: 7.5.20 is the newest release that clears `minimumReleaseAge` above.
26+
"tar": "7.5.20"
2327
"minimatch": ">=3.1.4"
2428
"axios": ">=1.16.0"
2529
"axios@1.14.1": ">=1.16.0"

0 commit comments

Comments
 (0)