mongoose
Affected
- introduced
8.0.0-rc0, fixed8.8.3(semver)
Fixed versions
8.8.3
Fix
- Fixed version
8.8.3npm install [email protected]
Advisory
Also known as: BIT-mongoose-2024-53900, CVE-2024-53900
Mongoose search injection vulnerability
Mongoose versions prior to 8.8.3, 7.8.3, 6.13.5, and 5.13.23 are vulnerable to improper use of the $where operator. This vulnerability arises from the ability of the $where clause to execute arbitrary JavaScript code in MongoDB queries, potentially leading to code injection attacks and unauthorized access or manipulation of database data.
High Basis: The source's own band: HIGH
8.0.0-rc0, fixed 8.8.3 (semver)8.8.3
8.8.3npm install [email protected]7.0.0-rc0, fixed 7.8.3 (semver)7.8.3
7.8.3npm install [email protected]6.0.0-rc0, fixed 6.13.5 (semver)6.13.5
6.13.5npm install [email protected]3.6.0-rc0, fixed 5.13.23 (semver)5.13.23
5.13.23npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0