Description
A vulnerability, which was classified as problematic, has been found in vercel ms up to 1.x. This issue affects the function parse of the file index.js. The manipulation of the argument str leads to inefficient regular expression complexity. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 2.0.0 is able to address this issue. The patch is named caae2988ba2a37765d055c4eee63d383320ee662. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-217451.
Remediation
References
https://github.com/vercel/ms/releases/tag/2.0.0
https://vuldb.com/?ctiid.217451
https://github.com/vercel/ms/pull/89
https://vuldb.com/?id.217451
https://github.com/vercel/ms/commit/caae2988ba2a37765d055c4eee63d383320ee662
Related Vulnerabilities
CVE-2022-0868 Vulnerability in npm package urijs
CVE-2020-28280 Vulnerability in npm package predefine
CVE-2023-40014 Vulnerability in npm package @openzeppelin/contracts
CVE-2022-24718 Vulnerability in npm package @finastra/ssr-pages
CVE-2023-29016 Vulnerability in maven package io.goobi.viewer:viewer-core