Advisory

GHSA-p84x-5xx8-hff9

Also known as: CVE-2019-19729

Summary

bson-objectid contains Improper input validation

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-24 22:01 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

bson-objectid

npm · All systems

Affected

  • introduced 0, last affected 1.3.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences