CVE-2021-23343

MEDIUM

path-parse < 1.0.7 - Regular Expression Denial of Service via splitDeviceRe, splitTailRe, and splitPathRe

Title source: llm
STIX 2.1

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.

References (4)

Core 4
Core References
Exploit, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JS-PATHPARSE-1077067
Exploit, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1279028
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/jbgutierrez/path-parse/issues/8

Scores

CVSS v3 5.3
EPSS 0.0222
EPSS Percentile 80.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Details

Status published
Products (2)
npm/path-parse 0 - 1.0.7npm
path-parse_project/path-parse < 1.0.7
Published May 04, 2021
Tracked Since Feb 18, 2026