
CVE catalog
CVE-2021-23362
node-hosted-git-info: CVE-2021-23362
- Severity
- Medium · CVSS 5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.61% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-hosted-git-info | sid | 9.0.2-3 | fixed |
| Debian | node-hosted-git-info | forky | 9.0.2-3 | fixed |
| Debian | node-hosted-git-info | trixie | 6.1.1-2 | fixed |
| Debian | node-hosted-git-info | bookworm | 6.1.1-2 | fixed |
| Npm | hosted-git-info | Not reported | 2.8.9 | fixed |
| Npm | hosted-git-info | Not reported | 3.0.8 | fixed |
| Ubuntu | node-hosted-git-info | pro | 2.7.1-1 | vulnerable |
| Ubuntu | node-hosted-git-info | pro | 2.8.5-1 | vulnerable |
| Ubuntu | node-hosted-git-info | pro | 2.8.5-1ubuntu0.1~esm1 | fixed |
| Ubuntu | node-hosted-git-info | pro | 2.7.1-1 | vulnerable |
| Ubuntu | node-hosted-git-info | pro | 2.8.5-1 | vulnerable |
| Ubuntu | node-hosted-git-info | pro | 2.8.5-1ubuntu0.1~esm1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-hosted-git-info | source | sid | 3.0.8-1 | not yet assigned | Not reported | Not reported |
| Debian | node-hosted-git-info | source | forky | 3.0.8-1 | not yet assigned | Not reported | Not reported |
| Debian | node-hosted-git-info | source | trixie | 3.0.8-1 | not yet assigned | Not reported | Not reported |
| Debian | node-hosted-git-info | source | bookworm | 3.0.8-1 | not yet assigned | Not reported | Not reported |
| Npm | hosted-git-info | npm | Not reported | 2.8.9 | Not reported | Not reported | Not reported |
| Npm | hosted-git-info | npm | Not reported | 3.0.8 | Not reported | Not reported | Not reported |
| Ubuntu | node-hosted-git-info | deb | pro | 2.8.5-1ubuntu0.1~esm1 | Not reported | USN-5216-1 | Not reported |
| Ubuntu | node-hosted-git-info | deb | pro | 2.8.5-1ubuntu0.1~esm1 | Not reported | UBUNTU-CVE-2021-23362 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-hosted-git-info]Fixed
Details (2)
6.1.1-2· all · bookwormFixed · Fixed:
3.0.8-1dsa · node-hosted-git-info · debian · bookworm; dsa · node-hosted-git-info · debian · 12
6.1.1-2· all · bookwormFixed · Fixed:
3.0.8-1dsa · node-hosted-git-info · debian · bookworm; dsa · node-hosted-git-info · debian · 12
[Debian 13 (Trixie)]
- [node-hosted-git-info]Fixed
Details (2)
6.1.1-2· all · trixieFixed · Fixed:
3.0.8-1dsa · node-hosted-git-info · debian · 13
6.1.1-2· all · trixieFixed · Fixed:
3.0.8-1dsa · node-hosted-git-info · debian · 13
Observed:
References
- [https://cert-portal.siemens.com/productcert/csaf/ssa-389290.json]
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2021_3073.json]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2021-23362]
- [https://osv.dev/vulnerability/GHSA-43f8-2h32-f4cj]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2021-23362]
- [https://osv.dev/vulnerability/USN-5216-1]
- [https://security-tracker.debian.org/tracker/CVE-2021-23362]
- [https://security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-23362.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-1603.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]