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.
Published: 2019-12-11
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2022-4714 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.
Github GHSA Github GHSA GHSA-p84x-5xx8-hff9 bson-objectid contains Improper input validation
History

No history.

Subscriptions

Bson-objectid Project Bson-objectid
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T02:25:12.561Z

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

Link: CVE-2019-19729

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

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

Modified: 2024-11-21T04:35:16.200

Link: CVE-2019-19729

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses