High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-23343
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:40 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-23343
Complete source record
{
"id": "ed6a3581a7b23c405f39b6bab997fea87541b54d41a42f8bfbde9aef6bfcde9c",
"url": "https://osv.dev/vulnerability/CVE-2021-23343",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-23343",
"summary": "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.",
"evidence": "osv:CVE-2021-23343",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-23343",
"aliases": [
"CVE-2021-23343",
"GHSA-hj48-42vr-x3v9"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/jbgutierrez/path-parse",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "9f1db2802ffbc572e6b447f66126697e33b0055e"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:path-parse_project:path-parse:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.0.7"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-23343.json"
}
}
],
"modified": "2026-10-20T10:54:31.974933267Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread.html/r6a32cb3eda3b19096ad48ef1e7aa8f26e005f2f63765abb69ce08b85%40%3Cdev.myfaces.apache.org%3E",
"https://github.com/jbgutierrez/path-parse/issues/8",
"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1279028",
"https://snyk.io/vuln/SNYK-JS-PATHPARSE-1077067"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-23343",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 385495,
"published_at": "2021-05-04T09:15:07.703+00:00"
}