Skip to content

fix(deps): bump nanotar 0.2.0 → 0.2.1 to patch CVE-2025-69874#1250

Merged
John-David Dalton (jdalton) merged 1 commit intomainfrom
fix/nanotar-cve-2025-69874
Apr 21, 2026
Merged

fix(deps): bump nanotar 0.2.0 → 0.2.1 to patch CVE-2025-69874#1250
John-David Dalton (jdalton) merged 1 commit intomainfrom
fix/nanotar-cve-2025-69874

Conversation

@jdalton
Copy link
Copy Markdown
Contributor

@jdalton John-David Dalton (jdalton) commented Apr 21, 2026

Summary

Patches Dependabot alert #97nanotar ≤ 0.2.0 is vulnerable to path traversal in parseTar() / parseTarGzip() (GHSA-92fh-27vv-894w, CVE-2025-69874, medium severity).

Upstream shipped 0.2.1 as a backport patch minutes after releasing 0.3.0, so 0.2.1 keeps us on the 0.2.x line with only the path-sanitization fix applied (unjs/nanotar#58). Chose 0.2.1 over 0.3.0 to minimize unrelated changes; a later PR can bump to 0.3.0 once that's been exercised in other consumers.

Test plan

  • pnpm-workspace.yaml catalog entry bumped.
  • pnpm install regenerates pnpm-lock.yaml with nanotar@0.2.1 (no other dep churn).
  • CI green on this PR.
  • Dependabot alert pnpm alternative to safe-npm #97 auto-resolves after merge.

Note on sequencing

PR #1249 (fleet-wide pnpm rc.5 alignment) also touches pnpm-workspace.yaml. Whichever of the two merges first, the other will need a trivial rebase.


Note

Low Risk
Low risk dependency-only change; behavior impact is limited to nanotar tar parsing, though it could affect any code paths that extract archives.

Overview
Updates the workspace dependency catalog and lockfile to use nanotar@0.2.1 instead of 0.2.0, pulling in the upstream patch for the reported path traversal issue.

No application/source code changes; the diff is limited to pnpm-workspace.yaml and pnpm-lock.yaml version/resolution updates (including integrity hash refresh).

Reviewed by Cursor Bugbot for commit 34cc060. Configure here.

…25-69874)

nanotar <= 0.2.0 is vulnerable to path traversal in parseTar() and parseTarGzip() (GHSA-92fh-27vv-894w, CVE-2025-69874, medium). Upstream shipped 0.2.1 as a backport patch alongside 0.3.0; 0.2.1 keeps us on the minor line with only the path-sanitization fix applied (unjs/nanotar#58).

Dependabot alert: https://github.com/SocketDev/socket-cli/security/dependabot/97
@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​nanotar@​0.2.0 ⏵ 0.2.1100 +1100 +2100 +181100

View full report

@socket-security-staging
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​nanotar@​0.2.0 ⏵ 0.2.1100 +1100 +2100 +181 -3100

View full report

@jdalton John-David Dalton (jdalton) merged commit 3710bfd into main Apr 21, 2026
14 checks passed
@jdalton John-David Dalton (jdalton) deleted the fix/nanotar-cve-2025-69874 branch April 21, 2026 22:22
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