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-2021-28092 Vulnerability in npm package is-svg
CVE-2021-41248 Vulnerability in npm package graphiql
CVE-2021-3805 Vulnerability in npm package object-path
CVE-2022-36919 Vulnerability in maven package org.jenkins-ci.plugins:coverity
CVE-2020-28500 Vulnerability in maven package org.webjars.npm:lodash