CVE-2018-13863
HIGH7.5EPSS 0.39%js-bson vulnerable to REDoS
Published: 9/17/2018Modified: 11/8/2023
Description
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.
Affected packages (2)
- Debian/node-mongodbfrom 0, < 3.1.10+~3.1.9-1
- npm/bson>= 0.5.0, < 1.0.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
References (6)
- ADVISORYhttps://github.com/advisories/GHSA-8462-q7x7-g2x4
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-13863
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2018-13863
- PATCHhttps://github.com/mongodb/js-bson
- WEBhttps://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a
- WEBhttps://snyk.io/vuln/npm:bson:20180225