{"schema_version":"1.9.0","id":"GHSA-hj48-42vr-x3v9","published":"2021-08-10T15:33:47Z","modified":"2025-01-14T08:57:22.791123Z","aliases":["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.","affected":[{"package":{"name":"path-parse","ecosystem":"npm","purl":"pkg:npm/path-parse"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.7"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-hj48-42vr-x3v9/GHSA-hj48-42vr-x3v9.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-23343"},{"type":"WEB","url":"https://github.com/jbgutierrez/path-parse/issues/8"},{"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"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1279028"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-JS-PATHPARSE-1077067"}],"database_specific":{"cwe_ids":["CWE-400"],"github_reviewed":true,"github_reviewed_at":"2021-05-19T21:02:21Z","nvd_published_at":"2021-05-04T09:15:00Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}