High severity · published Jul 10, 2018
CVE-2018-13863
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…
7.5
CVSS
1.9%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.9% · higher than 80% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
JS
Js-bson · Mongodb
0.5.0 before 1.0.5 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2018-13863
CVE.org
https://www.cve.org/CVERecord?id=CVE-2018-13863
Patch
https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a
Exploit
https://snyk.io/vuln/npm:bson:20180225
More from Js-bson
5.4
CVE-2019-2391
Incorrect parsing of certain JSON input may result in js-bson not correctly serializing BSON
