nodejs-bson: Regular expression denial of service in decimal128.js
Published Jul 10, 2018
7.5
HIGHCVSS 3.0
EPSS 1.94%
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
No data.
No data.
Red Hat Mobile Application Platform 4
nodejs-bson
Will not fix
Red Hat Software Collections
rh-nodejs6-nodejs-bson
Will not fix
Red Hat Software Collections
rh-nodejs8-nodejs-bson
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Mobile Application Platform 4 | nodejs-bson | Will not fix | n/a |
| Red Hat Software Collections | rh-nodejs6-nodejs-bson | Will not fix | n/a |
| Red Hat Software Collections | rh-nodejs8-nodejs-bson | Fix deferred | n/a |
bson
npm
Introduced 0.5.0 Fixed 1.0.5
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | bson | 0.5.0 | 1.0.5 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
AV:N/AC:L/Au:N/C:N/I:N/A:P
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (17 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 1.94% (0.01941) | 79.43th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.94% (0.01941) | 77.44th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.39% (0.00387) | 57.78th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.18% (0.00178) | 56.36th | v3 (v2023.03.01) |
| Mar 15, 2024 | 0.12% (0.00119) | 44.87th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.11% (0.00107) | 42.13th | v3 (v2023.03.01) |
| Dec 1, 2023 | 0.25% (0.00247) | 62.37th | v3 (v2023.03.01) |
| Jul 8, 2023 | 0.19% (0.00190) | 55.42th | v3 (v2023.03.01) |
| May 8, 2023 | 0.22% (0.00220) | 58.62th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.19% (0.00190) | 54.72th | v3 (v2023.03.01) |
| Mar 6, 2023 | 4.50% (0.04499) | 88.81th | v2 (v2022.01.01) |
| Apr 1, 2022 | 4.50% (0.04499) | 87.70th | v2 (v2022.01.01) |
| Feb 4, 2022 | 4.50% (0.04499) | 74.08th | v2 (v2022.01.01) |
| Feb 3, 2022 | 3.40% (0.03396) | 67.40th | v1 |
| Jan 6, 2022 | 3.40% (0.03396) | 67.08th | v1 |
| Sep 1, 2021 | 3.40% (0.03396) | 81.71th | v1 |
| Apr 14, 2021 | 3.40% (0.03396) | 0.00th | v1 |
References (7)
- https://access.redhat.com/security/cve/CVE-2018-13863 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1550772 Issue Tracking
- https://github.com/advisories/GHSA-8462-q7x7-g2x4 Advisory
- https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a x_refsource_MISCPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-13863
- https://snyk.io/vuln/npm:bson:20180225 x_refsource_MISCExploitTechnical DescriptionThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2018-13863
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-13863 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1550772 | Issue Tracking | |
| https://github.com/advisories/GHSA-8462-q7x7-g2x4 | Advisory | |
| https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a | x_refsource_MISCPatchThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-13863 | ||
| https://snyk.io/vuln/npm:bson:20180225 | x_refsource_MISCExploitTechnical DescriptionThird Party Advisory | |
| https://www.cve.org/CVERecord?id=CVE-2018-13863 |
Change history (0)
No recorded changes yet.