Vercel MS regex DOS via parse() before v2.0.0
CVE-2017-20162 Published on January 5, 2023
vercel ms index.js parse redos
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.
Vulnerability Analysis
Timeline
Advisory disclosed
CVE reserved
VulDB entry created
VulDB entry last update 23 days later.
Weakness Type
What is a ReDoS Vulnerability?
The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles. Some regular expression engines have a feature called "backtracking". If the token cannot match, the engine "backtracks" to a position that may result in a different token that can match. Backtracking becomes a weakness if all of these conditions are met:
CVE-2017-20162 has been classified to as a ReDoS vulnerability or weakness.
Products Associated with CVE-2017-20162
Want to know whenever a new CVE is published for Vercel Ms? stack.watch will email you.
Affected Versions
vercel ms Version 1.x is affected by CVE-2017-20162Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.