cve.bz

CVE-2021-23362

5.3 mediumEPSS 3.6%

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)
CWE
CWE-1333
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-43f8-2h32-f4cjnpmhosted-git-info<2.8.92.8.9
GHSA-43f8-2h32-f4cjnpmhosted-git-info>=3.0.0 <3.0.83.0.8

References

Check your stackJSON