CVE-2021-23362
Published: 23 March 2021
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.
Priority
Status
Package | Release | Status |
---|---|---|
node-hosted-git-info Launchpad, Ubuntu, Debian |
kinetic |
Not vulnerable
(3.0.8-1)
|
lunar |
Not vulnerable
(3.0.8-1)
|
|
impish |
Not vulnerable
(3.0.8-1)
|
|
hirsute |
Not vulnerable
(3.0.8-1)
|
|
trusty |
Does not exist
|
|
upstream |
Released
(3.0.8-1)
|
|
xenial |
Does not exist
|
|
bionic |
Released
(2.5.0-1ubuntu0.1~esm1)
Available with Ubuntu Pro |
|
groovy |
Ignored
(end of life)
|
|
jammy |
Not vulnerable
(3.0.8-1)
|
|
focal |
Released
(2.8.5-1ubuntu0.1~esm1)
Available with Ubuntu Pro |
|
mantic |
Not vulnerable
(3.0.8-1)
|
|
Patches: upstream: https://github.com/npm/hosted-git-info/commit/bede0dc38e1785e732bf0a48ba6f81a4a908eba3 |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 5.3 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | Low |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23362
- https://github.com/npm/hosted-git-info/commit/bede0dc38e1785e732bf0a48ba6f81a4a908eba3
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1088356
- https://snyk.io/vuln/SNYK-JS-HOSTEDGITINFO-1088355
- https://ubuntu.com/security/notices/USN-5216-1
- NVD
- Launchpad
- Debian