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://snyk.io/vuln/npm:bson:20180225
https://github.com/mongodb/js-bson/commit/bd61c45157c53a1698ff23770160cf4783e9ea4a
Related Vulnerabilities
CVE-2018-14731 Vulnerability in npm package parcel-bundler
CVE-2022-36100 Vulnerability in maven package org.xwiki.platform:xwiki-platform-tag-ui
CVE-2021-4279 Vulnerability in maven package org.webjars.npm:fast-json-patch
CVE-2023-29523 Vulnerability in maven package org.xwiki.platform:xwiki-platform-oldcore
CVE-2023-3432 Vulnerability in maven package net.sourceforge.plantuml:plantuml