ADVISORIES

Vulnerability

CVE-2021-23362

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.

35 advisories report this vulnerability, across 11 ecosystems.

Advisories

  • ALSA-2021:3073

    Moderate: nodejs:12 security, bug fix, and enhancement update

    CVE-2021-22918CVE-2021-23362CVE-2021-27290 AlmaLinux Updated 29 October 2026
  • ALSA-2021:3074

    Moderate: nodejs:14 security, bug fix, and enhancement update

    CVE-2021-22918CVE-2021-23362CVE-2021-27290 AlmaLinux Updated 29 October 2026
  • AZL-44058

    CVE-2021-23362 affecting package js-jquery 3.5.0-4

    CVE-2021-23362 Azure Linux Updated 23 November 2026
  • DEBIAN-CVE-2021-23362

    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…

    CVE-2021-23362 Debian Updated 23 October 2026
  • ELSA-2021-3073

    ELSA-2021-3073: nodejs:12 security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2021-22918CVE-2021-23362CVE-2021-27290 Oracle Linux Updated 12 August 2021
  • ELSA-2021-3074

    ELSA-2021-3074: nodejs:14 security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2021-22918CVE-2021-23362CVE-2021-27290 Oracle Linux Updated 12 August 2021
  • GHSA-43f8-2h32-f4cj

    Regular Expression Denial of Service in hosted-git-info

    Moderate CVE-2021-23362 npm Updated 14 January 2025
  • OESA-2021-1168

    nodejs-hosted-git-info security update

    Medium CVE-2021-23362 openEuler Updated 18 August 2026
  • RHSA-2021:2931

    Red Hat Security Advisory: rh-nodejs12-nodejs and rh-nodejs12-nodejs-nodemon security update

    CVE-2021-22918CVE-2021-23362CVE-2021-27290CVE-2021-33502 Red Hat Updated 13 November 2026
  • RHSA-2021:2932

    Red Hat Security Advisory: rh-nodejs14-nodejs and rh-nodejs14-nodejs-nodemon security update

    CVE-2021-22918CVE-2021-23362CVE-2021-27290CVE-2021-33502 Red Hat Updated 13 November 2026
  • RHSA-2021:3073

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

    CVE-2021-22918CVE-2021-23362CVE-2021-27290 Red Hat Updated 13 November 2026
  • RHSA-2021:3074

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

    CVE-2021-22918CVE-2021-23362CVE-2021-27290 Red Hat Updated 13 November 2026
  • RHSA-2021:3638

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

    CVE-2021-22918CVE-2021-22930CVE-2021-22931CVE-2021-22939 Red Hat Updated 23 November 2026
  • RHSA-2021:3639

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

    CVE-2021-22918CVE-2021-22930CVE-2021-22931CVE-2021-22939 Red Hat Updated 23 November 2026
  • RHVEX-CVE-2021-23362

    nodejs-hosted-git-info: Regular Expression denial of service via shortcutMatch in fromUrl()

    Moderate CVE-2021-23362 Red Hat Updated 7 November 2026
  • RLSA-2021:3073

    Moderate: nodejs:12 security, bug fix, and enhancement update

    CVE-2021-22918CVE-2021-23362CVE-2021-27290 Rocky Linux Updated 4 February 2026
  • RLSA-2021:3074

    Moderate: nodejs:14 security, bug fix, and enhancement update

    CVE-2021-22918CVE-2021-23362CVE-2021-27290 Rocky Linux Updated 4 February 2026
  • SUSE-SU-2021:2319-1

    Security update for nodejs14

    CVE-2020-7774CVE-2021-22918CVE-2021-23362CVE-2021-27290 SUSE Updated 4 February 2026
  • SUSE-SU-2021:2323-1

    Security update for nodejs10

    CVE-2020-7774CVE-2021-22918CVE-2021-23362CVE-2021-27290 SUSE Updated 4 February 2026
  • SUSE-SU-2021:2326-1

    Security update for nodejs12

    CVE-2020-7774CVE-2021-22918CVE-2021-23362CVE-2021-27290 SUSE Updated 4 February 2026
  • SUSE-SU-2021:2327-1

    Security update for nodejs12

    CVE-2020-7774CVE-2021-22918CVE-2021-23362CVE-2021-27290 SUSE Updated 4 February 2026
  • SUSE-SU-2021:2353-1

    Security update for nodejs10

    CVE-2020-7774CVE-2021-22918CVE-2021-23362CVE-2021-27290 SUSE Updated 4 February 2026
  • SUSE-SU-2021:2354-1

    Security update for nodejs14

    CVE-2020-7774CVE-2021-22918CVE-2021-23362CVE-2021-27290 SUSE Updated 4 February 2026
  • SUSE-SU-2021:2618-1

    Security update for nodejs8

    CVE-2020-7774CVE-2021-23362CVE-2021-27290 SUSE Updated 4 February 2026
  • SUSE-SU-2021:2620-1

    Security update for nodejs8

    CVE-2020-7774CVE-2021-22884CVE-2021-23362CVE-2021-27290 SUSE Updated 4 February 2026
  • UBUNTU-CVE-2021-23362

    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…

    CVE-2021-23362 Ubuntu Updated 4 February 2026
  • USN-5216-1

    node-hosted-git-info vulnerability

    CVE-2021-23362 Ubuntu Updated 10 February 2026
  • openSUSE-SU-2021:1059-1

    Security update for nodejs12

    CVE-2020-7774CVE-2021-22918CVE-2021-23362CVE-2021-27290 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:1060-1

    Security update for nodejs14

    CVE-2020-7774CVE-2021-22918CVE-2021-23362CVE-2021-27290 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:1061-1

    Security update for nodejs10

    CVE-2020-7774CVE-2021-22918CVE-2021-23362CVE-2021-27290 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:1113-1

    Security update for nodejs8

    CVE-2020-7774CVE-2021-23362CVE-2021-27290 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:2327-1

    Security update for nodejs12

    CVE-2020-7774CVE-2021-22918CVE-2021-23362CVE-2021-27290 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:2353-1

    Security update for nodejs10

    CVE-2020-7774CVE-2021-22918CVE-2021-23362CVE-2021-27290 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:2354-1

    Security update for nodejs14

    CVE-2020-7774CVE-2021-22918CVE-2021-23362CVE-2021-27290 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:2618-1

    Security update for nodejs8

    CVE-2020-7774CVE-2021-23362CVE-2021-27290 openSUSE Updated 4 February 2026

References