Summary
It was discovered that hosted-git-info incorrectly handled certain inputs. A
remote attacker could use this to cause a denial of service.
Fixed packages 2
| Release | Package | Fixed in |
|---|---|---|
| Ubuntu · Pro 18.04 LTS Pro:18.04:LTS | node-hosted-git-info | 2.5.0-1ubuntu0.1~esm1 |
| Ubuntu · Pro 20.04 LTS Pro:20.04:LTS | node-hosted-git-info | 2.8.5-1ubuntu0.1~esm1 |
Vulnerabilities 1
-
Medium 5.3
Regular Expression Denial of Service (ReDoS)
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.
References
-
report
https://ubuntu.com/security/CVE-2021-23362