For your digest
tar-fs: tar-fs Vulnerable to Link Following and Path Traversal via Extracting a Crafted tar File
It touches something Phylax follows. No evidence of use yet.
Does it affect what I run?
tar-fs (npm)
Checked in your browser. The version you type is not sent anywhere.
Who is affected
- tar-fs (npm): every version, before 1.16.4
- tar-fs (npm): from 2.0.0, before 2.1.2
- tar-fs (npm): from 3.0.0, before 3.0.7
The fix
tar-fs (npm) fixed in 1.16.4
npmnpm install tar-fs@1.16.4pnpmpnpm add tar-fs@1.16.4yarnyarn add tar-fs@1.16.4bunbun add tar-fs@1.16.4Check what is installednpm ls tar-fsPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency tar-fs to 1.16.4 or the nearest later release, to fix CVE-2024-12905. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.tar-fs (npm) fixed in 2.1.2
npmnpm install tar-fs@2.1.2pnpmpnpm add tar-fs@2.1.2yarnyarn add tar-fs@2.1.2bunbun add tar-fs@2.1.2Check what is installednpm ls tar-fsPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency tar-fs to 2.1.2 or the nearest later release, to fix CVE-2024-12905. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.tar-fs (npm) fixed in 3.0.7
npmnpm install tar-fs@3.0.7pnpmpnpm add tar-fs@3.0.7yarnyarn add tar-fs@3.0.7bunbun add tar-fs@3.0.7Check what is installednpm ls tar-fsPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency tar-fs to 3.0.7 or the nearest later release, to fix CVE-2024-12905. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
Fix commands generated from the advisory's versions. No model wrote them.
In plain words
Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.
Evidence
No evidence that it is being used, or can be. It is listed because of what it affects.
Timeline
- First published here, as "For your digest".