PYSEC-2017-90

    Dashboard / Vulnerabilities / PYSEC-2017-90

    PYSEC-2017-90

    Published: 7 Dec 2017Last Modified: 10 Jun 2026

    Summary:

    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
    PYSEC-2017-90 | CVE-DB