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:
- <= 1.3.0
References
Could your website be exposed too?
SmartScanner can check your website for bson-objectid contains Improper input validation and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Improper Input Validation in sanitize-html - CVE-2021-26539
- Improper Input Validation in vriteio/vrite - CVE-2023-5571
- Improper Input Validation in SocksJS-Node - CVE-2020-7693
- Improper Input Validation in access-policy - CVE-2020-7674


