CVE catalog

CVE-2021-23362

node-hosted-git-info: CVE-2021-23362

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS: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.

DistributionPackageReleaseVersionStatus
Debiannode-hosted-git-infosid9.0.2-3fixed
Debiannode-hosted-git-infoforky9.0.2-3fixed
Debiannode-hosted-git-infotrixie6.1.1-2fixed
Debiannode-hosted-git-infobookworm6.1.1-2fixed
Npmhosted-git-infoNot reported2.8.9fixed
Npmhosted-git-infoNot reported3.0.8fixed
Ubuntunode-hosted-git-infopro2.7.1-1vulnerable
Ubuntunode-hosted-git-infopro2.8.5-1vulnerable
Ubuntunode-hosted-git-infopro2.8.5-1ubuntu0.1~esm1fixed
Ubuntunode-hosted-git-infopro2.7.1-1vulnerable
Ubuntunode-hosted-git-infopro2.8.5-1vulnerable
Ubuntunode-hosted-git-infopro2.8.5-1ubuntu0.1~esm1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-hosted-git-infosourcesid3.0.8-1not yet assignedNot reportedNot reported
Debiannode-hosted-git-infosourceforky3.0.8-1not yet assignedNot reportedNot reported
Debiannode-hosted-git-infosourcetrixie3.0.8-1not yet assignedNot reportedNot reported
Debiannode-hosted-git-infosourcebookworm3.0.8-1not yet assignedNot reportedNot reported
Npmhosted-git-infonpmNot reported2.8.9Not reportedNot reportedNot reported
Npmhosted-git-infonpmNot reported3.0.8Not reportedNot reportedNot reported
Ubuntunode-hosted-git-infodebpro2.8.5-1ubuntu0.1~esm1Not reportedUSN-5216-1Not reported
Ubuntunode-hosted-git-infodebpro2.8.5-1ubuntu0.1~esm1Not reportedUBUNTU-CVE-2021-23362Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 6.1.1-2 · all · bookworm

      Fixed · Fixed: 3.0.8-1

      dsa · node-hosted-git-info · debian · bookworm; dsa · node-hosted-git-info · debian · 12

    • 6.1.1-2 · all · bookworm

      Fixed · Fixed: 3.0.8-1

      dsa · node-hosted-git-info · debian · bookworm; dsa · node-hosted-git-info · debian · 12

[Debian 13 (Trixie)]

  • Details (2)
    • 6.1.1-2 · all · trixie

      Fixed · Fixed: 3.0.8-1

      dsa · node-hosted-git-info · debian · 13

    • 6.1.1-2 · all · trixie

      Fixed · Fixed: 3.0.8-1

      dsa · node-hosted-git-info · debian · 13

Observed:

References