ADVISORIES

GitHub Advisory Database

GHSA-hj48-42vr-x3v9

Regular Expression Denial of Service in path-parse

Moderate CVE-2021-23343

Details

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

EcosystemPackageAffected versions
npmpath-parse
All versions before 1.0.7 (fixed in 1.0.7)

References