Medium (5.3). EPSS 3.6% chance of exploitation in the next 30 days. Fixed in hosted-git-info 2.8.9, 3.0.8.
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.
Severity
CVSS 3.1
5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
3.6% chance of exploitation in the next 30 days; higher than 89% of CVEs (scores of 2026-10-31)