CVEfocus › CVE database › CVE-2021-23343

CVE-2021-23343Regular Expression Denial of Service (ReDoS)

CVSS 5.3 MediumEPSS 2.2% (higher than 83% of CVEs)Published 2021-05-04Updated 2024-09-16Assigner: snyk

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.

What to do

Fixed builds are available from AlmaLinux, Red Hat, Rocky Linux, npm: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

18Fixed
4Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Red Hat Enterprise Linux 8nodejsFixed
Out of support scope
1:14.17.5-1.module+el8.4.0+12247+e2879e58RHSA-2021:3623
Red Hat Enterprise Linux 8nodejs-develFixed
Out of support scope
1:12.22.5-1.module+el8.4.0+12242+af52a4c7RHSA-2021:3666
Red Hat Enterprise Linux 8nodejs-docsFixed
Out of support scope
1:14.17.5-1.module+el8.4.0+12247+e2879e58RHSA-2021:3623
Red Hat Enterprise Linux 8nodejs-full-i18nFixed
Out of support scope
1:14.17.5-1.module+el8.4.0+12247+e2879e58RHSA-2021:3623
Red Hat Enterprise Linux 8nodejs-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 8nodejs-nodemonFixed
Out of support scope
0:2.0.3-1.module+el8.3.0+6519+9f98ed83RHSA-2021:3623
Red Hat Enterprise Linux 8nodejs-packagingFixed
Out of support scope
0:23-3.module+el8.3.0+6519+9f98ed83RHSA-2021:3623
Red Hat Enterprise Linux 8nodejs-packaging-bundlerWill not fix
Out of support scope
Red Hat Enterprise Linux 8npmFixed
Out of support scope
1:6.14.14-1.14.17.5.1.module+el8.4.0+12247+e2879e58RHSA-2021:3623
Red Hat Enterprise Linux 8v8-12.4-develWill not fix
Out of support scope
Red Hat Enterprise Linux 8v8-13.6-develWill not fix
Out of support scope
AlmaLinux 8nodejsFixed1:12.22.5-1.module_el8.4.0+2529+af52a4c7ALSA-2021:3623
AlmaLinux 8nodejs-develFixed1:12.22.5-1.module_el8.5.0+85+79a7b441ALSA-2021:3623
AlmaLinux 8nodejs-docsFixed1:12.22.5-1.module_el8.4.0+2529+af52a4c7ALSA-2021:3623
AlmaLinux 8nodejs-full-i18nFixed1:12.22.5-1.module_el8.4.0+2529+af52a4c7ALSA-2021:3623
AlmaLinux 8nodejs-nodemonFixed2.0.3-1.module_el8.4.0+2521+c668cc9fALSA-2021:3666
AlmaLinux 8nodejs-packagingFixed23-3.module_el8.4.0+2522+3bd42762ALSA-2021:3666
AlmaLinux 8npmFixed1:6.14.14-1.12.22.5.1.module_el8.5.0+85+79a7b441ALSA-2021:3623
Rocky Linux 8nodejsFixed1:12.22.5-1.module+el8.4.0+647+e905fa21RLSA-2021:3666
Rocky Linux 8nodejs-nodemonFixed0:2.0.3-1.module+el8.4.0+638+5344c6f7RLSA-2021:3623
Rocky Linux 8nodejs-packagingFixed0:23-3.module+el8.3.0+100+234774f7RLSA-2021:3666
npm librarypath-parseFixed1.0.7GHSA-hj48-42vr-x3v9

What the vendor says

As published in the CVE record by snyk, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.