Skip to main content
← All vulnerabilities
CVE-2018-13863GHSA-8462-Q7X7-G2X4

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.0.5
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • bsonnpm

    From 0.5.0 · fixed in 1.0.5

References 2

GitHub · mongodb/js-bson

snyk.io