CVE-2018-13863: High severity MongoDB JS-bson vulnerability

Published Jul 10, 2018
·
Updated

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 Software

2 affected componentsFixes available
npm/bson>=0.5.0<1.0.5
1.0.5
MongoDB JS-bson>=0.5.0<1.0.5

Event History

Jul 10, 2018
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description
Sep 17, 2018
Advisory Published
08:44 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2018-13863?

CVE-2018-13863 is a vulnerability in the MongoDB bson JavaScript module (js-bson), versions 0.5.0 to 1.0.x before 1.0.5, that allows for a Regular Expression Denial of Service (ReDoS) in the lib/bson/decimal128.js file.

2

What is the severity of CVE-2018-13863?

The severity of CVE-2018-13863 is high with a CVSS severity score of 7.5.

3

How does CVE-2018-13863 affect the software?

CVE-2018-13863 affects the MongoDB bson JavaScript module (js-bson) versions 0.5.0 to 1.0.x before 1.0.5, as well as the Mongodb Js-bson package.

4

What is the fix for CVE-2018-13863?

The fix for CVE-2018-13863 is to update the affected software to version 1.0.5 or later.

5

Is there any additional information about CVE-2018-13863?

Yes, you can find more information about CVE-2018-13863 at the following references: [NVD](https://nvd.nist.gov/vuln/detail/CVE-2018-13863), [GitHub Commit](https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a), [GitHub Advisory](https://github.com/advisories/GHSA-8462-q7x7-g2x4).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203