Regular Expression Denial of Service (ReDoS) in MongoDB bson JavaScript Module

Regular Expression Denial of Service (ReDoS) in MongoDB bson JavaScript Module

CVE-2018-13863 · MEDIUM Severity

AV:N/AC:L/AU:N/C:N/I:N/A:P

The MongoDB bson JavaScript module (also known as js-bson) versions 0.5.0 to 1.0.x before 1.0.5 is vulnerable to a Regular Expression Denial of Service (ReDoS) in lib/bson/decimal128.js. The flaw is triggered when the Decimal128.fromString() function is called to parse a long untrusted string.

Learn more about our Cis Benchmark Audit For Mongodb.