CVE-2019-17426 Improper Input Validation in Automattic Mongoose
CriticalCVSS 9.1
EPSS 1.5%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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).
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| mongoosejs mongoose | <= 5.7.4 | after 5.7.4 | Fixed |
| npm mongoose(npm) | < 4.13.21; >= 5.0.0, < 5.7.5 | 4.13.21, 5.7.5 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm mongoose(npm) | >= 5.0.0, < 5.7.5 | 5.7.5 |
| npm mongoose(npm) | < 4.13.21 | 4.13.21 |
| mongoosejs mongoose | <= 5.7.4 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com third-party-advisory
- github.com
- github.com
- github.com patch
- github.com
- github.com product