Vulnerabilities/

bson-objectid contains Improper input validation

Severity:
High

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.

Recommendation

No fix is available yet. Followings are affected versions:

References

Related Issues

Tags:
npm
bson-objectid
Anything's wrong? Let us know Last updated on September 26, 2023

This issue is available in SmartScanner Professional

See Pricing