CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2019

CVE-2019-17426
Mongoosejs Mongoose vulnerability

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

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Mongoose. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Mongoosejs Mongoose runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.