{"id":"UBUNTU-CVE-2018-13863","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.","modified":"2025-07-17T16:54:07Z","published":"2018-07-10T20:29:00Z","withdrawn":"2025-07-18T16:44:41Z","upstream":["CVE-2018-13863"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-13863"},{"type":"REPORT","url":"https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-13863"}],"affected":[{"package":{"name":"node-mongodb","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/node-mongodb@3.5.5+~3.2.7-1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.5.5+~3.2.7-1"}]}],"versions":["3.3.1+~3.2.7-1","3.3.2+~3.2.7-1","3.3.3+~3.2.7-1","3.3.5+~3.2.7-1","3.4.0+~3.2.7-1","3.4.1+~3.2.7-1","3.5.0+~3.2.7-1","3.5.2+~3.2.7-1","3.5.3+~3.2.7-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"node-mongodb","binary_version":"3.5.5+~3.2.7-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-13863.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]}