NetSight
medium5.3

CVE-2021-23343

Regular Expression Denial of Service in path-parse

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
npmpath-parse< 1.0.71.0.7

Affected products

VendorProductAffected versions
Path-Parse ProjectPath-Parse
before 1.0.7

Weakness classification

References