Name | CVE-2021-23362 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
node-hosted-git-info (PTS) | buster | 2.7.1-1+deb10u1 | fixed |
bullseye | 3.0.8-1 | fixed | |
bookworm, sid | 6.1.1-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
node-hosted-git-info | source | stretch | (not affected) | |||
node-hosted-git-info | source | buster | 2.7.1-1+deb10u1 | |||
node-hosted-git-info | source | (unstable) | 3.0.8-1 |
[stretch] - node-hosted-git-info <not-affected> (Vulnerable code introduced later)
Fixed by: https://github.com/npm/hosted-git-info/commit/bede0dc38e1785e732bf0a48ba6f81a4a908eba3
https://snyk.io/vuln/SNYK-JS-HOSTEDGITINFO-1088355