Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWhqNDgtNDJ2ci14M3Y5
Regular Expression Denial of Service in path-parse
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.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLWhqNDgtNDJ2ci14M3Y5
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 3 years ago
Updated: over 1 year ago
CVSS Score: 5.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Identifiers: GHSA-hj48-42vr-x3v9, CVE-2021-23343
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-23343
- https://github.com/jbgutierrez/path-parse/issues/8
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1279028
- https://snyk.io/vuln/SNYK-JS-PATHPARSE-1077067
- https://lists.apache.org/thread.html/r6a32cb3eda3b19096ad48ef1e7aa8f26e005f2f63765abb69ce08b85@%3Cdev.myfaces.apache.org%3E
- https://github.com/jbgutierrez/path-parse/pull/10
- https://github.com/jbgutierrez/path-parse/commit/eca63a7b9a473bf6978a2f5b7b3343662d1506f7
- https://github.com/advisories/GHSA-hj48-42vr-x3v9
Blast Radius: 33.3
Affected Packages
npm:path-parse
Dependent packages: 2,172Dependent repositories: 1,929,330
Downloads: 175,662,137 last month
Affected Version Ranges: < 1.0.7
Fixed in: 1.0.7
All affected versions: 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6
All unaffected versions: 1.0.7