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 in Red Hat

  • 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 26 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 26 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 25 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 25 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 25 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 25 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 26 November 2026

References