For your digest
tar: Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links
It touches something Phylax follows. No evidence of use yet.
Does it affect what I run?
tar (npm)
Checked in your browser. The version you type is not sent anywhere.
Who is affected
- tar (npm): from 3.0.0, before 4.4.16
- tar (npm): from 5.0.0, before 5.0.8
- tar (npm): from 6.0.0, before 6.1.7
The fix
tar (npm) fixed in 4.4.16
npmnpm install tar@4.4.16pnpmpnpm add tar@4.4.16yarnyarn add tar@4.4.16bunbun add tar@4.4.16Check what is installednpm ls tarPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency tar to 4.4.16 or the nearest later release, to fix CVE-2021-37701. 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 (npm) fixed in 5.0.8
npmnpm install tar@5.0.8pnpmpnpm add tar@5.0.8yarnyarn add tar@5.0.8bunbun add tar@5.0.8Check what is installednpm ls tarPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency tar to 5.0.8 or the nearest later release, to fix CVE-2021-37701. 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 (npm) fixed in 6.1.7
npmnpm install tar@6.1.7pnpmpnpm add tar@6.1.7yarnyarn add tar@6.1.7bunbun add tar@6.1.7Check what is installednpm ls tarPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency tar to 6.1.7 or the nearest later release, to fix CVE-2021-37701. 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".