CVE-2019-17426
Summary
| CVE | CVE-2019-17426 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2019-10-10 02:05:00 UTC |
| Updated | 2021-07-21 11:39:00 UTC |
| 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). |
Risk And Classification
Problem Types: NVD-CWE-noinfo
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Mongoosejs | Mongoose | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Mongoose query condition abuse vulnerability. · Issue #8222 · Automattic/mongoose · GitHub | MISC | github.com | Third Party Advisory |
| fix(query): delete top-level `_bsontype` property in queries to preve… · Automattic/mongoose@f3eca5b · GitHub | MISC | github.com | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 981965 Nodejs (npm) Security Update for mongoose (GHSA-8687-vv9j-hgph)