CVE-2019-17426

Critical

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).

SeverityCritical
CVSS9.1
Exploit probability—
ProductMongoose
PublishedOct 10, 2019
First seenOct 10, 2019

How to fix

Update
  • mongoose5.7.5, 4.13.21 or later

Affected products

ProductAffected versionsFixed in
mongoosejs mongoosev ≤ 5.7.4—
mongoosenpm5.0.0 ≤ v < 5.7.5, v < 4.13.215.7.5, 4.13.21

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2019-17426 · Mongoose · Dark Radar