GHSA-4j5j-58j7-6c3w

    Dashboard / Vulnerabilities / GHSA-4j5j-58j7-6c3w

    GHSA-4j5j-58j7-6c3w

    Published: 17 May 2022Last Modified: 14 May 2026

    Summary: Dulwich Arbitrary code execution via commit with directory path starting with .git

    Details: The `build_index_from_tree` function in index.py in Dulwich versions 0.9.9 and below allows remote attackers to execute arbitrary code via a commit with a directory path starting with `.git/`, which is not properly handled when checking out a working tree.

    Affected packages

    Package

    Name: dulwich

    Purl: pkg:pypi/dulwich

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -0.9.10

    Affected versions

    0.0.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