5.3medium
Regular Expression Denial of Service (ReDoS)
- Severity
- 5.3medium CVSS:3.1 by snyk
- Exploit likelihood
- 2.22% (higher than 83% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-hj48-42vr-x3v9
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| path-parse | before unspecified | CVE List |
| path-parse (npm) | before 1.0.7 | GitHub Advisory Database |
| path-parse_project path-parse | before 1.0.7 | NVD |
All scores
| snyk | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| GitHub | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Todas las versiones del paquete path-parse son vulnerables a una Denegación de Servicio de Expresiones Regulares (ReDoS) por medio de las expresiones regulares splitDeviceRe, splitTailRe y splitPathRe. ReDoS exhibe complejidad de tiempo polinomial en el peor de los casos
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-23343 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hj48-42vr-x3v9 changed 2025-01-14 | CC-BY-4.0 |
| NVD | CVE-2021-23343 changed 2026-06-17 | Public domain |