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-2017-16120 Vulnerability in npm package liyujing
CVE-2021-32818 Vulnerability in npm package haml-coffee
CVE-2022-26850 Vulnerability in maven package org.apache.nifi:nifi-single-user-utils
CVE-2022-45921 Vulnerability in maven package io.fusionauth:fusionauth-java-client
CVE-2022-28820 Vulnerability in maven package com.adobe.acs:acs-aem-commons-ui.apps