Skip to main content
MEDIUM

CVE-2021-23362

CVSS v3

5.3

MEDIUM

EPSS Score

3.6 %

exploit probability, as of 2026-10-18

CISA KEV

No

known exploited

Exploitation

—

SSVC status

Get an alert for each new CVE published for hosted-git-info.

Set up CVE WatchFree account · no credit card

Affected and fixed versions

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • hosted-git-infonpmfrom 3.0.0 · fixed in 3.0.8
  • nodejs-nodemonAlmaLinux:8all versions · fixed in 2.0.3-1.module_el8.4.0+2521+c668cc9f
  • nodejs-packagingAlmaLinux:8all versions · fixed in 23-3.module_el8.4.0+2522+3bd42762

Vendor advisories

  • CVE-2021-23362 Red Hat Product Security203 products fixed · 53 known affected

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

    servicemesh-grafana as a component of OpenShift Service Mesh 2.0 · servicemesh-grafana-prometheus as a component of OpenShift Service Mesh 2.0 · servicemesh-grafana.src as a component of OpenShift Service Mesh 2.0

  • ICSA-22-069-09 CISA1 known affected

    Siemens SINEC INS

    SINEC INS

  • SSA-389290 Siemens ProductCERT1 known affected

    SSA-389290: Third-Party Component Vulnerabilities in SINEC INS

    SINEC INS

  • RHSA-2021:3638 Red Hat Product Security30 products fixed

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

  • RHSA-2021:3639 Red Hat Product Security30 products fixed

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

  • RHSA-2021:3074 Red Hat Product Security30 products fixed

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

4 more advisories

Full record on NVD

Description

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.

Technical details

Published
2021-03-23

Frequently asked questions

What is 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.

Is CVE-2021-23362 actively exploited?

Active exploitation of CVE-2021-23362 has not been confirmed. Its EPSS score was 3.6% on 2026-10-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-23362?

CVE-2021-23362 has a CVSS v3 base score of 5.3 (MEDIUM severity).

Running hosted-git-info? Hear about its next vulnerability

CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.

Already have an account? Open CVE WatchNo credit card required · No monthly cap on website lookups · 250 API requests/month