Regular Expression Denial of Service in path-parse
Moderate severity
GitHub Reviewed
Published
Aug 10, 2021
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Description
Published by the National Vulnerability Database
May 4, 2021
Reviewed
May 19, 2021
Published to the GitHub Advisory Database
Aug 10, 2021
Last updated
Feb 1, 2023
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.References