{"id":"GHSA-8462-q7x7-g2x4","summary":"js-bson vulnerable to REDoS","details":"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.","aliases":["CVE-2018-13863"],"modified":"2023-11-08T03:59:54.424805Z","published":"2018-09-17T20:44:58Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-06-16T21:24:09Z","nvd_published_at":null,"cwe_ids":["CWE-185","CWE-400"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-13863"},{"type":"WEB","url":"https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8462-q7x7-g2x4"},{"type":"PACKAGE","url":"https://github.com/mongodb/js-bson"},{"type":"WEB","url":"https://snyk.io/vuln/npm:bson:20180225"}],"affected":[{"package":{"name":"bson","ecosystem":"npm","purl":"pkg:npm/bson"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.5.0"},{"fixed":"1.0.5"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/09/GHSA-8462-q7x7-g2x4/GHSA-8462-q7x7-g2x4.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}