Skip to content

CVE-2018-13863 js-bson vulnerable to REDoS

HighCVSS 7.5 EPSS 1.9%
Published
Updated
Exploit status
No public exploit known

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 products

ProductAffected versionsFixed in
npm bson(npm) >= 0.5.0, < 1.0.5 1.0.5
debian/node-mongodb(Debian:12) < 3.1.10+~3.1.9-1 3.1.10+~3.1.9-1
MongoDB js-bson >= 0.5.0, < 1.0.5 1.0.5

References