CVE-2018-13863
mediumpriority · track · 31EPSS 0.019 · 80 %ileEUUSEPSS · scored 2026-10-28
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5–7.5
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-8462-q7x7-g2x4js-bson vulnerable to REDoS2018-09-17ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4acnnvd
- https://snyk.io/vuln/npm:bson:20180225cnnvd
- https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4aenisa_euvd
- https://snyk.io/vuln/npm:bson:20180225enisa_euvd
- https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4aPatchThird Party Advisorynvd
- https://snyk.io/vuln/npm:bson:20180225ExploitTechnical DescriptionThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan