deps: update tar to 7.5.2 to fix CVE-2025-64118#1493
Conversation
Update tar from 7.5.1 to 7.5.2 to address security vulnerability CVE-2025-64118. This fixes a race condition in tar.list() that could lead to uninitialized memory exposure. The fix was implemented using pnpm overrides to ensure minimal changes to the dependency tree. Co-Authored-By: Penelope <penelope@paella.dev>
Original prompt from Penelope |
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
Description
This PR updates the
tarpackage from version 7.5.1 to 7.5.2 to address security vulnerability CVE-2025-64118, which was flagged by Dependabot alert #371.The vulnerability involves a race condition in
tar.list()withsync: truethat could lead to uninitialized memory exposure if a tar file is truncated while being read. While the conditions for exploitation are specific (requires sync mode, attacker-controlled file truncation, and processing of entry contents), updating to the patched version eliminates the risk entirely.The fix was implemented using pnpm's
overridesfeature to force all transitive dependencies to use tar@7.5.2, ensuring minimal changes to the dependency tree. As a bonus, this also cleaned up an old unused tar@6.2.1 dependency and its related packages.Test plan
pnpm build:libs)pnpm test:vitest- 48 tests across 15 suites)pnpm lint)Package updates
This is a security patch for a transitive dependency. No changeset is required as this doesn't affect the public API of any published packages.
Link to Devin run: https://app.devin.ai/sessions/ed69d15ffcf0484dac24e49393cfc641
Requested by: Penelope (@soinclined)
Review checklist: