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 Apr 21, 2026
Merged
fix(deps): bump nanotar 0.2.0 → 0.2.1 to patch CVE-2025-69874#1250John-David Dalton (jdalton) merged 1 commit intomainfrom
John-David Dalton (jdalton) merged 1 commit intomainfrom
Conversation
…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
Bill Li (billxinli)
approved these changes
Apr 21, 2026
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Patches Dependabot alert #97 —
nanotar≤ 0.2.0 is vulnerable to path traversal inparseTar()/parseTarGzip()(GHSA-92fh-27vv-894w, CVE-2025-69874, medium severity).Upstream shipped
0.2.1as a backport patch minutes after releasing0.3.0, so0.2.1keeps us on the0.2.xline with only the path-sanitization fix applied (unjs/nanotar#58). Chose0.2.1over0.3.0to minimize unrelated changes; a later PR can bump to0.3.0once that's been exercised in other consumers.Test plan
pnpm-workspace.yamlcatalog entry bumped.pnpm installregeneratespnpm-lock.yamlwithnanotar@0.2.1(no other dep churn).pnpmalternative tosafe-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
nanotartar parsing, though it could affect any code paths that extract archives.Overview
Updates the workspace dependency catalog and lockfile to use
nanotar@0.2.1instead of0.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.yamlandpnpm-lock.yamlversion/resolution updates (including integrity hash refresh).Reviewed by Cursor Bugbot for commit 34cc060. Configure here.