GHSA-x5m6-jh4r-34mv

    Dashboard / Vulnerabilities / GHSA-x5m6-jh4r-34mv

    GHSA-x5m6-jh4r-34mv

    Published: 15 Feb 2022Last Modified: 16 Feb 2024
    Aliases:

    Summary: Hub Package Arbitrary File Overwrite

    Details: The `am` function in `lib/hub/commands.rb` in hub before 1.12.1 allows local users to overwrite arbitrary files via a symlink attack on a temporary patch file.

    Affected packages

    Package

    Name: github.com/github/hub

    Purl: pkg:golang/github.com/github/hub

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -1.12.1

    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-x5m6-jh4r-34mv | CVE-DB