Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/hosted-git-info@2.6.0
purl pkg:npm/hosted-git-info@2.6.0
Next non-vulnerable version 2.8.9
Latest non-vulnerable version 3.0.8
Risk 4.0
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-4kjh-zmaz-tqb7
Aliases:
CVE-2021-23362
GHSA-43f8-2h32-f4cj
Regular Expression Denial of Service in hosted-git-info The npm 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
2.8.9
Affected by 0 other vulnerabilities.
3.0.8
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T21:19:19.312506+00:00 GitLab Importer Affected by VCID-4kjh-zmaz-tqb7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/hosted-git-info/CVE-2021-23362.yml 38.4.0
2026-04-11T22:31:37.094019+00:00 GitLab Importer Affected by VCID-4kjh-zmaz-tqb7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/hosted-git-info/CVE-2021-23362.yml 38.3.0
2026-04-02T22:42:57.937585+00:00 GitLab Importer Affected by VCID-4kjh-zmaz-tqb7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/hosted-git-info/CVE-2021-23362.yml 38.1.0
2026-04-01T17:00:40.216371+00:00 GitLab Importer Affected by VCID-4kjh-zmaz-tqb7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/hosted-git-info/CVE-2021-23362.yml 38.0.0