CVE-2021-23362Published Mar 23, 2021 · Mar 23Updated Oct 20
Regular Expression Denial of Service (ReDoS)
hosted-git-info
Medium5.3Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| hosted-git-info npm |
|
|
Original description
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.
From the CVE record · snyk