CVE-2021-23362: Npmjs Hosted-Git-Info
Medium severity, CVSS 5.3. EPSS: 3.6% chance of exploitation 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.
Affected products
- Npmjs Hosted-Git-Info: from 2.0.0, before 2.8.9 (fixed in 2.8.9); 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)
Published 2021-03-23. Last modified 2026-06-17.