mongoose
Affected
- introduced
5.0.0, fixed5.7.5(semver)
Fixed versions
5.7.5
Fix
- Fixed version
5.7.5npm install [email protected]
Advisory
Also known as: CVE-2019-17426
Improper Input Validation in Automattic Mongoose
Automattic Mongoose through 5.7.4 allows attackers to bypass access control (in some applications) because any query object with a _bsontype attribute is ignored. For example, adding "_bsontype":"a" can sometimes interfere with a query filter. NOTE: this CVE is about Mongoose's failure to work around this _bsontype special case that exists in older versions of the bson parser (aka the mongodb/js-bson project).
Critical Basis: The source's own band: CRITICAL
5.0.0, fixed 5.7.5 (semver)5.7.5
5.7.5npm install [email protected]0, fixed 4.13.21 (semver)4.13.21
4.13.21npm 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