Skip to main content
No exploitation reportedFix available

CVE-2021-23343

No exploitation reported by the sources we read.

  • Published2021-05-04
  • Fixed in1.0.7

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2021-05-0409:15CVE publishedNVD

Versions per branch

NVD · OSV
Path-parse project path-parse
BranchAffectedFixed in
1.0< 1.0.71.0.7

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • arangodb-3.11Chainguardall versions · fixed in 3.11.14.5-r28
  • arangodb-3.12Chainguardall versions · fixed in 3.12.11-r0
  • nodejsRocky Linux:8all versions · fixed in 1:12.22.5-1.module+el8.4.0+647+e905fa21
  • nodejsRocky Linux:8all versions · fixed in 1:14.17.5-1.module+el8.4.0+654+17ff1d38
  • nodejsRed Hat:rhel_eus:8.2::appstreamall versions · fixed in 1:12.22.5-1.module+el8.2.0+12241+a3db445band 5 other packages
  • nodejsRed Hat:rhel_eus:8.1::appstreamall versions · fixed in 1:12.22.5-1.module+el8.1.0+12238+63fe3aecand 5 other packages
  • nodejsRed Hat:enterprise_linux:8::appstreamall versions · fixed in 1:12.22.5-1.module+el8.4.0+12242+af52a4c7and 5 other packages
  • nodejsRed Hat:enterprise_linux:8::appstreamall versions · fixed in 1:14.17.5-1.module+el8.4.0+12247+e2879e58and 5 other packages

121 more package ranges on OSV.dev

Vendor advisories

  • CVE-2021-23343 Red Hat Product Security197 products fixed · 51 known affected

    nodejs-path-parse: ReDoS via splitDeviceRe, splitTailRe and splitPathRe

    kiali as a component of OpenShift Service Mesh 1 · kiali.src as a component of OpenShift Service Mesh 1 · servicemesh-grafana as a component of OpenShift Service Mesh 1 · +48 more

  • RHSA-2021:4902 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: ACS 3.67 security and enhancement update

  • RHSA-2021:3666 Red Hat Product Security30 products fixed

    Red Hat Security Advisory: nodejs:14 security and bug fix update

  • RHSA-2021:3638 Red Hat Product Security30 products fixed

    Red Hat Security Advisory: nodejs:12 security and bug fix update

  • RHSA-2021:3639 Red Hat Product Security30 products fixed

    Red Hat Security Advisory: nodejs:12 security and bug fix update

  • RHSA-2021:3623 Red Hat Product Security30 products fixed

    Red Hat Security Advisory: nodejs:12 security and bug fix update

3 more advisories

Full record on NVD

Fix

  1. Update Path-parse project path-parse to 1.0.7
  2. Vendor fix Red Hat Product Security RHSA-2021:4902 · 1 productTo take advantage of these new features, fixes and changes, please upgrade Red Hat Advanced Cluster Security for Kubernetes to version 3.67.
  3. Vendor fix Red Hat Product Security RHSA-2021:3666 · 30 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  4. Vendor fix Red Hat Product Security RHSA-2021:2865 · 2 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/2974891
  5. No fix planned, says the vendor Red Hat Product Security CVE-2021-23343 · 28 productsOut of support scope
  6. No fix planned, says the vendor Red Hat Product Security CVE-2021-23343 · 1 productWill not fix

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2021-05-04
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-hj48-42vr-x3v9

Frequently asked questions

What is CVE-2021-23343?

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.

Is CVE-2021-23343 actively exploited?

Active exploitation of CVE-2021-23343 has not been confirmed. Its EPSS score was 2.2% on 2026-11-09, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-23343?

CVE-2021-23343 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running path-parse? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record