CVEvulnerability
CVE-2018-13863
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2018-07-10
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
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 configurations
• mongodb js-bson (>= 0.5.0 < 1.0.5)
References
- https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a Patch, Third Party Advisory
- https://snyk.io/vuln/npm:bson:20180225 Exploit, Technical Description, Third Party Advisory
- https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a Patch, Third Party Advisory
- https://snyk.io/vuln/npm:bson:20180225 Exploit, Technical Description, Third Party Advisory