{"id":"CVE-2018-13863","aliases":["CLSA-2026-1774225202","DEBIAN-CVE-2018-13863","EUVD-2018-0447","GHSA-8462-q7x7-g2x4","UBUNTU-CVE-2018-13863"],"status":"published","title":"js-bson vulnerable to REDoS","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.","severity":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01941,"percentile":0.80267,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-185","CWE-400"],"published":"2018-07-10T20:00:00Z","modified":"2026-10-25T01:43:10Z","fixes":[{"ecosystem":"npm","package":"bson","fixed_in":["1.0.5"],"sources":["ghsa","osv"]},{"ecosystem":"TuxCare:npm","package":"bson","fixed_in":["0.5.7-tuxcare.1"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"node-mongodb","fixed_in":["3.1.10+~3.1.9-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"bson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.5.0"},{"fixed":"1.0.5"}]}]},{"source":"osv","ecosystem":"TuxCare:npm","package":"bson","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.5.7-tuxcare.0"},{"fixed":"0.5.7-tuxcare.1"}]}],"versions":["0.5.7"]},{"source":"osv","ecosystem":"Debian:12","package":"node-mongodb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.10+~3.1.9-1"}]}]},{"source":"osv","ecosystem":"npm","package":"bson","ranges":[{"type":"SEMVER","events":[{"introduced":"0.5.0"},{"fixed":"1.0.5"}]}]}],"products":[{"vendor":"mongodb","product":"js-bson"}],"references":[{"url":"https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://snyk.io/vuln/npm:bson:20180225","tags":["x_refsource_MISC","x_transferred","Exploit","Technical Description","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-13863","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-8462-q7x7-g2x4","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2018-13863","tags":["advisory"]},{"url":"https://github.com/mongodb/js-bson","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2018-13863","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2018-13863","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2018-13863","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.","status":"published","published":"2018-07-10T20:00:00Z","modified":"2024-09-16T23:21:48.488Z","updated_at":"2026-11-02T14:35:06.679212Z"}],"euvd":[{"id":"EUVD-2018-0447","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.","status":"published","published":"2018-07-10T20:00:00Z","modified":"2024-09-16T23:21:48Z","updated_at":"2026-11-03T00:54:54.099071Z"}],"ghsa":[{"id":"GHSA-8462-q7x7-g2x4","title":"js-bson vulnerable to REDoS","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.","status":"published","published":"2018-09-17T20:44:58Z","modified":"2023-09-05T23:09:22Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-185","CWE-400"],"updated_at":"2026-11-02T14:37:02.632342Z"}],"nvd":[{"id":"CVE-2018-13863","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.","status":"published","published":"2018-07-10T20:29:00.22Z","modified":"2026-06-17T01:40:16.99Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"updated_at":"2026-11-02T14:04:32.929986Z"}],"osv":[{"id":"CVE-2018-13863","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.","status":"published","published":"2018-07-10T20:29:00.22Z","modified":"2026-10-20T10:49:50.04321251Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:08.242347Z"},{"id":"DEBIAN-CVE-2018-13863","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.","status":"published","published":"2018-07-10T20:29:00.22Z","modified":"2026-10-23T18:02:59.270457295Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:30.290351Z"},{"id":"GHSA-8462-q7x7-g2x4","title":"js-bson vulnerable to REDoS","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.","status":"published","published":"2018-09-17T20:44:58Z","modified":"2023-11-08T03:59:54.424805Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-185","CWE-400"],"updated_at":"2026-11-02T15:46:41.732368Z"},{"id":"UBUNTU-CVE-2018-13863","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.","status":"withdrawn","published":"2018-07-10T20:29:00Z","modified":"2025-07-17T16:54:07Z","cvss":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:17.014176Z"},{"id":"CLSA-2026-1774225202","title":"TuxCare security update for bson (1 CVE)","description":"TuxCare rebuilt bson to address 1 CVE. Fixed in 0.5.7-tuxcare.1.","status":"published","published":"2026-08-04T14:52:14Z","modified":"2026-10-25T01:43:10.054973086Z","updated_at":"2026-11-02T15:43:43.621843Z"}]}}
