Medium, CVSS 5.3npmAmendedPublished
Regular Expression Denial of Service in path-parse
CVE-2021-23343 · GHSA-hj48-42vr-x3v9
- Affected
- npm path-parse < 1.0.7
- Fixed in
- 1.0.7· Vendor fix available
- Issue
- Affected versions of npm 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.
Recommended action: Upgrade to 1.0.7 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.