Live threats

All CVEs / Path-parse Project

CVE-2021-23343Path-parse Project Path-parse

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.2%
probability of exploitation in 30 days · percentile 83
Auth required
No
Published
May 4, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Path-parse.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm path-parse < 1.0.7 1.0.7 npm install path-parse@1.0.7

Per OSV / GitHub Advisories (GHSA-hj48-42vr-x3v9). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
path-parse_projectpath-parse< 1.0.7

Official sources

References

Links published by the sources. Open them with care.