| Package | Affected versions | Patched versions |
|---|---|---|
| js-bson | ≥ 0.5.0, < 1.0.5 | 1.0.5 |
| bson | ≥ 0.5.0, < 1.0.5 | 1.0.5 |
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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free