Skip to content

← Public intelligence

npm package

hosted-git-info

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 5.3npmAmendedPublished

    Regular Expression Denial of Service in hosted-git-info

    CVE-2021-23362 · GHSA-43f8-2h32-f4cj

    Affected
    • npm hosted-git-info >= 3.0.0, < 3.0.8; < 2.8.9
    Fixed in
    3.0.82.8.9· Vendor fix available
    Issue
    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

    Recommended action: Upgrade to 3.0.8 or 2.8.9 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.