npm package report

Is hosted-git-info safe?

1 known vulnerability, worst severity MODERATE.

// reach

1 direct dependencies

none carry a known advisory

    23 packages depend on it

    an advisory here reaches each of them

    Create a free accountfor every dependency path, dependent and what to upgrade
    // ai model usage

    Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


    cvss
    5.3
    medium

    CVSS v3.1 base score out of 10

    epss
    3.6%
    medium

    chance of exploitation in 30 days, 90th percentile of all CVEs

    xyz score
    not scored

    CyberXYZ composite out of 10

    fig. 01 — GHSA-43f8-2h32-f4cj, the advisory selected below

    // 1 advisories

    GHSA-43f8-2h32-f4cj

    MODERATEGitHub ratingCVE-2021-23362

    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

    // cvss v3.1 vector

    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

    Attack vector
    Network
    Attack complexity
    Low
    Privileges required
    None
    User interaction
    None
    Scope
    Unchanged
    Confidentiality
    None
    Integrity
    None
    Availability
    Low

    Checked 2026-11-07 at 16:52 UTC. The most recent advisory here was published 2021-05-06. Updated continuously from NVD, GHSA, OSV and CNA feeds.

    Think a verdict here is wrong? Tell us — we respond within 2 business days.