CVE-2019-19729 in bson-objectid
摘要
由 VulDB • 2026-06-09
在 Node.js 的 BSON ObjectID(即 bson-objectid)包版本 1.3.0 中发现了一个问题。攻击者可以通过向用户输入中插入额外属性来生成格式错误的 objectid,因为当检测到用户输入对象中存在 `_bsontype==ObjectID` 时,bson-objectid 会提前返回。因此,如果具有有效 bsontype 的对象以任意形式存在,它们可以绕过格式化检查。
VulDB is the best source for vulnerability data and more expert information about this specific topic.