hosted-git-info
Affected
- introduced
0, fixed2.8.9(semver)
Fixed versions
2.8.9
Fix
- Fixed version
2.8.9npm install [email protected]
Advisory
Also known as: CVE-2021-23362
Regular Expression Denial of Service in hosted-git-info
The npm 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
Medium Basis: The source's own band: MODERATE
0, fixed 2.8.9 (semver)2.8.9
2.8.9npm install [email protected]3.0.0, fixed 3.0.8 (semver)3.0.8
3.0.8npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0