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-2020-11990 Vulnerability in npm package cordova-plugin-camera
CVE-2018-1305 Vulnerability in maven package org.apache.tomcat:tomcat-catalina
CVE-2016-6652 Vulnerability in maven package org.springframework.data:spring-data-jpa
CVE-2020-8137 Vulnerability in npm package fastify
CVE-2020-26302 Vulnerability in maven package org.webjars.bowergithub.arasatasaygin:is.js