gitpython@3.2.0

GitPython is a Python library used to interact with Git repositories

  • latest version

    3.2.1

  • latest non vulnerable version

  • first published

    16 years ago

  • latest version published

    29 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the gitpython package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Incorrect Behavior Order

    GitPython is a python library used to interact with Git repositories

    Affected versions of this package are vulnerable to Incorrect Behavior Order via submodule checkout destination validation in git/objects/submodule/base.py. Submodule checkout destinations can pass the containment check and be accepted before cloning has altered the filesystem, allowing an attacker to place submodule metadata or working-tree content outside the intended repository boundaries. This includes NTFS/HFS metadata-alias bypasses, invalid Windows path components, NUL bytes in submodule names, and destinations nested inside another submodule's Git directory. An attacker who controls a malicious repository can trigger arbitrary path writes on a victim's filesystem when the victim clones or updates submodules.

    How to fix Incorrect Behavior Order?

    Upgrade GitPython to version 3.2.1 or higher.

    [,3.2.1)