{"id":"CVE-2021-23343","aliases":["GHSA-hj48-42vr-x3v9"],"url":"https://o3.security/vulnerability/CVE-2021-23343","summary":"Regular Expression Denial of Service in path-parse","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.","published":"2021-05-04T09:15:07.703Z","modified":"2026-10-20T10:54:31.974933267Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":{"score":0.02218,"percentile":0.82937,"asOf":"2026-11-13"},"cisaKev":null,"exploitsKnown":3,"affectedPackages":[{"ecosystem":"npm","name":"path-parse","fixedVersion":"1.0.7"}],"fix":{"url":"https://github.com/jbgutierrez/path-parse/pull/10","label":"jbgutierrez/path-parse#10"},"references":[{"type":"WEB","url":"https://lists.apache.org/thread.html/r6a32cb3eda3b19096ad48ef1e7aa8f26e005f2f63765abb69ce08b85%40%3Cdev.myfaces.apache.org%3E"},{"type":"REPORT","url":"https://github.com/jbgutierrez/path-parse/issues/8"},{"type":"EVIDENCE","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1279028"},{"type":"EVIDENCE","url":"https://snyk.io/vuln/SNYK-JS-PATHPARSE-1077067"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23343"},{"type":"WEB","url":"https://github.com/jbgutierrez/path-parse/pull/10"},{"type":"WEB","url":"https://github.com/jbgutierrez/path-parse/commit/eca63a7b9a473bf6978a2f5b7b3343662d1506f7"},{"type":"PACKAGE","url":"https://github.com/jbgutierrez/path-parse"},{"type":"WEB","url":"https://lists.apache.org/thread.html/r6a32cb3eda3b19096ad48ef1e7aa8f26e005f2f63765abb69ce08b85@%3Cdev.myfaces.apache.org%3E"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-20T10:54:31.974933267Z"}}