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.
{
"nvd_published_at": null,
"cwe_ids": [
"CWE-185",
"CWE-400"
],
"severity": "HIGH",
"github_reviewed": true,
"github_reviewed_at": "2020-06-16T21:24:09Z"
}