p PatchFirst

CVE-2021-23362

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

CVSS 5.3 · Medium · EPSS 3.6% · 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:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="node-hosted-git-info"'

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.

The package hosted-git-info before 3.0.8 are vulnerable to Regular Expression Denial of Service (ReDoS) via regular expression shortcutMatch in the fromUrl function in index.js. The affected regular expression exhibits polynomial worst-case time complexity.

Published
Updated

Fixes in distributions

  • RHSA-2021:3639 · Red Hat rhel eus 8.1 appstream ·
  • RHSA-2021:3638 · Red Hat rhel eus 8.2 appstream ·
  • RHSA-2021:3073 · Red Hat Enterprise Linux 8 appstream ·
  • RHSA-2021:2932 · Red Hat rhel software collections 3 el7 ·
  • RHSA-2021:2931 · Red Hat rhel software collections 3 el7 ·
  • RHSA-2021:3074 · Red Hat Enterprise Linux 8 appstream ·
  • USN-5216-1 · Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS ·
  • ALSA-2021:3074 · AlmaLinux 8 ·
  • RLSA-2021:3074 · Rocky Linux 8 ·
  • ALSA-2021:3073 · AlmaLinux 8 ·
  • RLSA-2021:3073 · Rocky Linux 8 ·
  • openSUSE-SU-2021:1113-1 · openSUSE Leap 15.2 ·
  • SUSE-SU-2021:2620-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 Module for Web and Scripting 15 SP2, 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 Manager Proxy 4.0, SUSE Manager Retail Branch Server 4.0, SUSE Manager Server 4.0 ·
  • openSUSE-SU-2021:2618-1 · openSUSE Leap 15.3 ·
  • SUSE-SU-2021:2618-1 · SUSE Linux Enterprise Module for Web and Scripting 15 SP2 ·
  • openSUSE-SU-2021:1061-1 · openSUSE Leap 15.2 ·
  • openSUSE-SU-2021:1060-1 · openSUSE Leap 15.2 ·
  • openSUSE-SU-2021:1059-1 · openSUSE Leap 15.2 ·
  • openSUSE-SU-2021:2354-1 · openSUSE Leap 15.3 ·
  • SUSE-SU-2021:2354-1 · SUSE Linux Enterprise Module for Web and Scripting 15 SP2, SUSE Linux Enterprise Module for Web and Scripting 15 SP3 ·
  • SUSE-SU-2021:2353-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 Module for Web and Scripting 15 SP2, 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 Manager Proxy 4.0, SUSE Manager Retail Branch Server 4.0, SUSE Manager Server 4.0 ·
  • openSUSE-SU-2021:2353-1 · openSUSE Leap 15.3 ·
  • openSUSE-SU-2021:2327-1 · openSUSE Leap 15.3 ·
  • SUSE-SU-2021:2327-1 · SUSE Linux Enterprise Module for Web and Scripting 15 SP2, SUSE Linux Enterprise Module for Web and Scripting 15 SP3 ·
  • SUSE-SU-2021:2326-1 · SUSE Linux Enterprise Module for Web and Scripting 12 ·
  • SUSE-SU-2021:2323-1 · SUSE Linux Enterprise Module for Web and Scripting 12 ·
  • SUSE-SU-2021:2319-1 · SUSE Linux Enterprise Module for Web and Scripting 12 ·

Stack: system · node

Affected products and versions

  • hosted-git-info

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

    Update to 3.0.8

  • node-hosted-git-info Debian 12

    Affected ranges
    • ECOSYSTEM: < 3.0.8-1

    Update to 3.0.8-1

  • node-hosted-git-info Debian 13

    Affected ranges
    • ECOSYSTEM: < 3.0.8-1

    Update to 3.0.8-1

  • node-hosted-git-info Debian 14

    Affected ranges
    • ECOSYSTEM: < 3.0.8-1

    Update to 3.0.8-1

  • hosted-git-info npm

    Affected ranges
    • SEMVER: < 2.8.9

    Update to 2.8.9

  • hosted-git-info npm

    Affected ranges
    • SEMVER: ≥ 3.0.0, < 3.0.8

    Update to 3.0.8

  • node-hosted-git-info Ubuntu Pro 18.04 LTS

    Versions
    • 2.1.5-1
    • 2.5.0-1
    Affected ranges
    • ECOSYSTEM: < 2.5.0-1ubuntu0.1~esm1

    Update to 2.5.0-1ubuntu0.1~esm1

  • node-hosted-git-info Ubuntu Pro 20.04 LTS

    Versions
    • 2.7.1-1
    • 2.8.5-1
    Affected ranges
    • ECOSYSTEM: < 2.8.5-1ubuntu0.1~esm1

    Update to 2.8.5-1ubuntu0.1~esm1

Original sources

Check your server →