p PatchFirst

CVE-2021-23343

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

CVSS 5.3 · Medium · EPSS 2.2% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

npm ls path-parse

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Fixes in distributions

  • RHSA-2021:3666 · Red Hat Enterprise Linux 8 appstream ·
  • RHSA-2021:3639 · Red Hat rhel eus 8.1 appstream ·
  • RHSA-2021:3638 · Red Hat rhel eus 8.2 appstream ·
  • RHSA-2021:3623 · Red Hat Enterprise Linux 8 appstream ·
  • RHSA-2021:2865 · Red Hat rhev manager 4.4 el8 ·
  • RHSA-2021:3280 · Red Hat rhel software collections 3 el7 ·
  • RHSA-2021:3281 · Red Hat rhel software collections 3 el7 ·
  • SUSE-SU-2022:1717-1 · openSUSE Leap 15.3, openSUSE Leap 15.4, SUSE Enterprise Storage 6, SUSE Enterprise Storage 7, SUSE Linux Enterprise High Performance Computing 15-ESPOS, SUSE Linux Enterprise High Performance Computing 15-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, SUSE Linux Enterprise Server 15-LTSS, SUSE Linux Enterprise Server 15 SP1-BCL, SUSE Linux Enterprise Server 15 SP1-LTSS, SUSE Linux Enterprise Server 15 SP2-BCL, SUSE Linux Enterprise Server 15 SP2-LTSS, SUSE Linux Enterprise Server for SAP Applications 15, SUSE Linux Enterprise Server for SAP Applications 15 SP1, SUSE Linux Enterprise Server for SAP Applications 15 SP2, SUSE Manager Proxy 4.1, SUSE Manager Retail Branch Server 4.1, SUSE Manager Server 4.1 ·
  • SUSE-SU-2022:0715-1 · SUSE Enterprise Storage 7, SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, SUSE Linux Enterprise Module for Web and Scripting 15 SP3, SUSE Linux Enterprise Server 15 SP2-BCL, SUSE Linux Enterprise Server 15 SP2-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP2, SUSE Manager Proxy 4.1, SUSE Manager Retail Branch Server 4.1, SUSE Manager Server 4.1 ·
  • openSUSE-SU-2022:0715-1 · openSUSE Leap 15.3 ·
  • SUSE-SU-2022:0704-1 · SUSE Enterprise Storage 6, SUSE Enterprise Storage 7, SUSE Linux Enterprise High Performance Computing 15-ESPOS, SUSE Linux Enterprise High Performance Computing 15-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, SUSE Linux Enterprise Server 15-LTSS, SUSE Linux Enterprise Server 15 SP1-BCL, SUSE Linux Enterprise Server 15 SP1-LTSS, SUSE Linux Enterprise Server 15 SP2-BCL, SUSE Linux Enterprise Server 15 SP2-LTSS, SUSE Linux Enterprise Server for SAP Applications 15, SUSE Linux Enterprise Server for SAP Applications 15 SP1, SUSE Linux Enterprise Server for SAP Applications 15 SP2, SUSE Manager Proxy 4.1, SUSE Manager Retail Branch Server 4.1, SUSE Manager Server 4.1 ·
  • openSUSE-SU-2022:0704-1 · openSUSE Leap 15.3 ·
  • SUSE-SU-2022:0657-1 · SUSE Enterprise Storage 7, SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS, SUSE Linux Enterprise Module for Web and Scripting 15 SP3, SUSE Linux Enterprise Server 15 SP2-BCL, SUSE Linux Enterprise Server 15 SP2-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP2, SUSE Manager Proxy 4.1, SUSE Manager Retail Branch Server 4.1, SUSE Manager Server 4.1 ·
  • openSUSE-SU-2022:0657-1 · openSUSE Leap 15.3 ·
  • SUSE-SU-2022:0570-1 · SUSE Linux Enterprise Module for Web and Scripting 12 ·
  • SUSE-SU-2022:0569-1 · SUSE Linux Enterprise Module for Web and Scripting 12 ·
  • SUSE-SU-2022:0563-1 · SUSE Enterprise Storage 6, SUSE Linux Enterprise High Performance Computing 15-ESPOS, SUSE Linux Enterprise High Performance Computing 15-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS, SUSE Linux Enterprise Server 15-LTSS, SUSE Linux Enterprise Server 15 SP1-BCL, SUSE Linux Enterprise Server 15 SP1-LTSS, SUSE Linux Enterprise Server for SAP Applications 15, SUSE Linux Enterprise Server for SAP Applications 15 SP1 ·
  • SUSE-SU-2022:0531-1 · SUSE Linux Enterprise Module for Web and Scripting 12 ·
  • ALSA-2021:3666 · AlmaLinux 8 ·
  • RLSA-2021:3666 · Rocky Linux 8 ·
  • ALSA-2021:3623 · AlmaLinux 8 ·
  • RLSA-2021:3623 · Rocky Linux 8 ·

Stack: node

Affected products and versions

  • path-parse

    Versions
    • ≥ 0, < unspecified: Affected (custom)

    No fix published

  • path-parse npm

    Affected ranges
    • SEMVER: < 1.0.7

    Update to 1.0.7

Original sources

Check your server →