{ "schema_version": "1.4.0", "id": "GHSA-8462-q7x7-g2x4", "modified": "2023-09-05T23:09:22Z", "published": "2018-09-17T20:44:58Z", "aliases": [ "CVE-2018-13863" ], "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" } ], "affected": [ { "package": { "ecosystem": "npm", "name": "bson" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0.5.0" }, { "fixed": "1.0.5" } ] } ] } ], "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" } ], "database_specific": { "cwe_ids": [ "CWE-185", "CWE-400" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2020-06-16T21:24:09Z", "nvd_published_at": null } }