[Snyk] Security upgrade tar from 6.2.0 to 7.5.7#122
Conversation
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-TAR-15127355
Greptile OverviewGreptile SummaryThis PR upgrades the Key Changes
Security ImpactThe upgrade fixes a medium-severity directory traversal vulnerability that could allow attackers to write files outside the intended extraction directory during tar archive extraction operations. This is critical for the npm package which extracts CLI binaries from tar.gz archives in the preinstall script (npm/src/index.cjs:150). Breaking ChangesThis is a major version upgrade (6.x to 7.x) with a breaking change:
Compatibility AssessmentThe Confidence Score: 4/5
Important Files Changed
|
| }, | ||
| "dependencies": { | ||
| "tar": "^6.2.0", | ||
| "tar": "^7.5.7", |
There was a problem hiding this comment.
Breaking Change - Node.js Version Requirement
The upgrade from tar 6.x to 7.x requires Node.js 18+ (was Node.js 10+).
Verify that:
- CI/CD pipelines use Node.js 18 or higher (your release workflow uses Node.js 20, which is compatible ✓)
- Users installing this NPM package have Node.js 18+
- Documentation reflects the new minimum Node.js version requirement
Snyk has created this PR to fix 1 vulnerabilities in the npm dependencies of this project.
Snyk changed the following file(s):
npm/package.jsonnpm/package-lock.jsonVulnerabilities that will be fixed with an upgrade:
SNYK-JS-TAR-15127355
Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Directory Traversal