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.
Remediation
References
https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a
https://snyk.io/vuln/npm:bson:20180225
Related Vulnerabilities
CVE-2011-1184 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core
CVE-2023-49145 Vulnerability in maven package org.apache.nifi:nifi-jolt-transform-json-ui
CVE-2020-28472 Vulnerability in maven package org.webjars.bower:aws-sdk
CVE-2022-39322 Vulnerability in npm package @keystone-6/core
CVE-2021-23353 Vulnerability in maven package org.webjars.bowergithub.mrrio:jspdf