{"id":"CVE-2018-13863","published":"2018-07-10T20:00:00Z","modified":"2024-09-16T23:21:48Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01911,"percentile":0.80313,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/npm:bson:20180225","tags":["x_refsource_MISC"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":16.06}]},"affected":[{"ecosystem":"npm","package":"bson","vulnerableRanges":[">=0.5.0, <1.0.5"],"patched":["1.0.5"],"from":["GHSA-8462-q7x7-g2x4"],"provenance":"source"}],"summary":{"text":"The flaw is a Regular Expression Denial of Service (ReDoS) in lib/bson/decimal128.js of the MongoDB bson JavaScript module (js-bson), affecting versions 0.5.0 through 1.0.x before 1.0.5. An attacker who can supply a long untrusted string to the Decimal128.fromString() function can trigger excessive regex processing that exhausts resources, with no authentication, configuration or user interaction described as required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:24Z"},"euvd":{"id":"EUVD-2018-0447","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-13863","published":"2018-07-10","fixed":"1.0.5","kev":false},{"cve":"CVE-2019-2391","published":"2020-03-31","fixed":"1.1.4","kev":false,"link":{"from":"CVE-2018-13863","to":"CVE-2019-2391","relation":"successor","confidence":"medium","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:bson","fromFixed":"1.0.5","toFixed":"1.1.4","daysApart":630},{"kind":"similar","provenance":"machine","score":0.41,"basis":"same package + description similarity"}]}},{"cve":"CVE-2020-7610","published":"2020-03-30","fixed":"1.1.4","kev":false,"link":{"from":"CVE-2018-13863","to":"CVE-2020-7610","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:bson","fromFixed":"1.0.5","toFixed":"1.1.4","daysApart":629}]}}],"package":"npm:bson"}}