CVE-2018-13863
js-bson vulnerable to REDoS
7.5
HIGH
CVSS 3.1
EPSS 0.39%
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.
How to fix CVE-2018-13863
To remediate CVE-2018-13863, upgrade the affected package to a fixed version below.
- —upgrade to 3.1.10+~3.1.9-1 or later
- —upgrade to 1.0.5 or later
Is CVE-2018-13863 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 3.1.10+~3.1.9-1
- >= 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 |