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-2022-0155 Vulnerability in npm package follow-redirects
CVE-2019-20149 Vulnerability in maven package org.webjars.bowergithub.jonschlinkert:kind-of
CVE-2021-27405 Vulnerability in npm package @progfay/scrapbox-parser
CVE-2023-34454 Vulnerability in maven package org.xerial.snappy:snappy-java
CVE-2023-1108 Vulnerability in maven package io.undertow:undertow-core