CVE-2021-23343
Path-parse Project Path-parse vulnerability
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 products
Path-parse. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Path-parse Project Path-parse runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/jbgutierrez/path-parse/issues/8 · Exploit
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1279028 · Exploit
- snyk.io/vuln/SNYK-JS-PATHPARSE-1077067 · Exploit
- lists.apache.org/thread.html/r6a32cb3eda3b19096ad48ef1e7aa8f26e005f2f63765abb69ce08b85%40%
- nvd.nist.gov/vuln/detail/CVE-2021-23343
- cve.org/CVERecord?id=CVE-2021-23343
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.