What’s Vulnerable › Vulnerabilities

CVE-2021-23343: Regular Expression Denial of Service (ReDoS)

Description

All versions of package path-parse are vulnerable to Regular Expression Denial of Service (ReDoS) via splitDeviceRe, splitTailRe, and splitPathRe regular expressions. ReDoS exhibits polynomial worst-case time complexity.

Affected products

How to fix

Upgrade to a fixed version: path-parse 1.0.7; Npm Path-Parse 1.0.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-23343 or the next vulnerability affects your stack