GHSA-43f8-2h32-f4cj

    Dashboard / Vulnerabilities / GHSA-43f8-2h32-f4cj

    GHSA-43f8-2h32-f4cj

    Published: 6 May 2021Last Modified: 14 Jan 2025

    Summary: Regular Expression Denial of Service in hosted-git-info

    Details: 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

    Affected packages

    Package

    Name: hosted-git-info

    Purl: pkg:npm/hosted-git-info

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -2.8.9

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-43f8-2h32-f4cj | CVE-DB