CVEvulnerability
CVE-2019-19729
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2019-12-11
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-670
Description
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 configurations
• bson-objectid project bson-objectid 1.3.0
Related
Weakness · CWE (1)
- CWE-670 Always-Incorrect Control Flow Implementation weakness
References
- https://github.com/williamkapke/bson-objectid/issues/30 Exploit, Third Party Advisory
- https://www.npmjs.com/package/bson-objectid Product
- https://github.com/williamkapke/bson-objectid/issues/30 Exploit, Third Party Advisory
- https://www.npmjs.com/package/bson-objectid Product