For your digest
mongoose: Mongoose search injection vulnerability
It touches something Phylax follows. No evidence of use yet.
Does it affect what I run?
mongoose (npm)
Checked in your browser. The version you type is not sent anywhere.
Who is affected
- mongoose (npm): from 8.0.0-rc0, before 8.8.3
- mongoose (npm): from 7.0.0-rc0, before 7.8.3
- mongoose (npm): from 6.0.0-rc0, before 6.13.5
- mongoose (npm): from 3.6.0-rc0, before 5.13.23
The fix
mongoose (npm) fixed in 8.8.3
npmnpm install mongoose@8.8.3pnpmpnpm add mongoose@8.8.3yarnyarn add mongoose@8.8.3bunbun add mongoose@8.8.3Check what is installednpm ls mongoosePaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency mongoose to 8.8.3 or the nearest later release, to fix CVE-2024-53900. 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.mongoose (npm) fixed in 7.8.3
npmnpm install mongoose@7.8.3pnpmpnpm add mongoose@7.8.3yarnyarn add mongoose@7.8.3bunbun add mongoose@7.8.3Check what is installednpm ls mongoosePaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency mongoose to 7.8.3 or the nearest later release, to fix CVE-2024-53900. 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.mongoose (npm) fixed in 6.13.5
npmnpm install mongoose@6.13.5pnpmpnpm add mongoose@6.13.5yarnyarn add mongoose@6.13.5bunbun add mongoose@6.13.5Check what is installednpm ls mongoosePaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency mongoose to 6.13.5 or the nearest later release, to fix CVE-2024-53900. 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.mongoose (npm) fixed in 5.13.23
npmnpm install mongoose@5.13.23pnpmpnpm add mongoose@5.13.23yarnyarn add mongoose@5.13.23bunbun add mongoose@5.13.23Check what is installednpm ls mongoosePaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency mongoose to 5.13.23 or the nearest later release, to fix CVE-2024-53900. 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".