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/commit/caae2988ba2a37765d055c4eee63d383320ee662
https://github.com/vercel/ms/pull/89
https://github.com/vercel/ms/releases/tag/2.0.0
https://vuldb.com/?ctiid.217451
https://vuldb.com/?id.217451
Related Vulnerabilities
CVE-2020-7639 Vulnerability in npm package eivindfjeldstad-dot
CVE-2012-4431 Vulnerability in maven package org.apache.tomcat.embed:tomcat-embed-core
CVE-2015-9235 Vulnerability in npm package jsonwebtoken
CVE-2020-12827 Vulnerability in npm package mjml
CVE-2020-14060 Vulnerability in maven package com.fasterxml.jackson.core:jackson-databind