For your digest
acorn: Regular Expression Denial of Service in Acorn
It touches something Phylax follows. No evidence of use yet.
Does it affect what I run?
acorn (npm)
Checked in your browser. The version you type is not sent anywhere.
Who is affected
- acorn (npm): from 5.5.0, before 5.7.4
- acorn (npm): from 6.0.0, before 6.4.1
- acorn (npm): from 7.0.0, before 7.1.1
The fix
acorn (npm) fixed in 5.7.4
npmnpm install acorn@5.7.4pnpmpnpm add acorn@5.7.4yarnyarn add acorn@5.7.4bunbun add acorn@5.7.4Check what is installednpm ls acornPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency acorn to 5.7.4 or the nearest later release, to fix GHSA-6chw-6frg-f759. 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.acorn (npm) fixed in 6.4.1
npmnpm install acorn@6.4.1pnpmpnpm add acorn@6.4.1yarnyarn add acorn@6.4.1bunbun add acorn@6.4.1Check what is installednpm ls acornPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency acorn to 6.4.1 or the nearest later release, to fix GHSA-6chw-6frg-f759. 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.acorn (npm) fixed in 7.1.1
npmnpm install acorn@7.1.1pnpmpnpm add acorn@7.1.1yarnyarn add acorn@7.1.1bunbun add acorn@7.1.1Check what is installednpm ls acornPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency acorn to 7.1.1 or the nearest later release, to fix GHSA-6chw-6frg-f759. 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".