CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2019

CVE-2019-19729
Bson-objectid Project Bson-objectid vulnerability

An issue was discovered in the BSON ObjectID (aka bson-objectid) package 1.3.0 for Node.js. ObjectID() allows an attacker to generate a malformed objectid by inserting an additional property to the user-input, because bson-objectid will return early if it detects _bsontype==ObjectID in the user-input object. As a result, objects in arbitrary forms can bypass formatting if they have a valid bsontype.

Affected products

Bson-objectid. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Bson-objectid Project Bson-objectid 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.