CVE-2021-23343
HIGH 7.5CVSS 3.1Regular Expression Denial of Service in path-parse
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.
- Published
- 4 May 2021
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-400
- Also known as
- GHSA-hj48-42vr-x3v9
- Sources
- NVDJSONOSV GHSA-hj48-42vr-x3v9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | path-parse_project | path-parsecpe:2.3:a:path-parse_project:path-parse:*:*:*:*:*:node.js:*:* |
< 1.0.7 | 1.0.7 |
| OSV | npm | path-parse | < 1.0.7 | 1.0.7 |
References
- https://github.com/jbgutierrez/path-parse/issues/8 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://lists.apache.org/thread.html/r6a32cb3eda3b19096ad48ef1e7aa8f26e005f2f63765abb69ce08b85%40%3Cdev.myfaces.apache.org%3E
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1279028 · Exploit, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-PATHPARSE-1077067 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-23343 · ADVISORY
- https://github.com/jbgutierrez/path-parse/pull/10 · WEB
- https://github.com/jbgutierrez/path-parse/commit/eca63a7b9a473bf6978a2f5b7b3343662d1506f7 · WEB
- https://github.com/jbgutierrez/path-parse · PACKAGE
- https://lists.apache.org/thread.html/r6a32cb3eda3b19096ad48ef1e7aa8f26e005f2f63765abb69ce08b85@%3Cdev.myfaces.apache.org%3E · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 4 May 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Aug 2021)