A flaw was found in GitPython, a Python library for interacting with Git repositories. A remote attacker could exploit an input validation vulnerability in the _clone() function. By crafting a malicious string in the multi_options parameter, an attacker could bypass validation. This allows for the injection of arbitrary Git configurations, such as core.hooksPath, leading to the execution of attacker-controlled hooks and ultimately, arbitrary code execution during a clone operation.
0:3.1.50-1.el8ap0:3.1.50-1.el9apExploitability
AV:NAC:HPR:NUI:RScope
S:UImpact
C:HI:HA:H7.5/CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H