CVE-2021-23362: Npmjs Hosted-Git-Info

Medium severity, CVSS 5.3. EPSS: 3.6% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Npmjs Hosted-Git-Info, from 2.0.0, before 2.8.9: fixed in 2.8.9
  • Npmjs Hosted-Git-Info, from 3.0.0, before 3.0.8: fixed in 3.0.8
  • Siemens Sinec Infrastructure Network Services, before 1.0.1.1: fixed in 1.0.1.1

Affected products

Affected packages

Published 2021-03-23. Last modified 2026-06-17.