GHSA-6v56-cpg6-3rpx

    Dashboard / Vulnerabilities / GHSA-6v56-cpg6-3rpx

    GHSA-6v56-cpg6-3rpx

    Published: 13 May 2022Last Modified: 25 Sept 2024

    Summary: Mercurial vulnerable to arbitrary code injection

    Details: In Mercurial before 4.4.1, it is possible that a specially malformed repository can cause Git subrepositories to run arbitrary code in the form of a `.git/hooks/post-update` script checked into the repository. Typical use of Mercurial prevents construction of such repositories, but they can be created programmatically.

    Affected packages

    Package

    Name: mercurial

    Purl: pkg:pypi/mercurial

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -4.4.1

    Affected versions

    0.8.1

    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-6v56-cpg6-3rpx | CVE-DB