Advisories for Npm/Hosted-Git-Info package

2021

Uncontrolled Resource Consumption

The package hosted-git-info is 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.