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

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: mitre

Published: 2019-12-11T19:56:01

Updated: 2019-12-11T19:56:01

Reserved: 2019-12-11T00:00:00


Link: CVE-2019-19729

JSON object: View

cve-icon NVD Information

Status : Analyzed

Published: 2019-12-11T20:15:11.100

Modified: 2021-07-21T11:39:23.747


Link: CVE-2019-19729

JSON object: View

cve-icon Redhat Information

No data.

CWE