A flaw was found in GitPython. This vulnerability allows an attacker to achieve arbitrary code execution on the host system. The issue occurs because the Remote.pull() function inspects only keyword arguments for unsafe command options and fails to validate positional repository reference specifications (refspecs). By supplying crafted refspecs containing command-line flags, an attacker can execute arbitrary operating system commands with the privileges of the calling process.
0:4.5.38-1.el8ap0:4.5.38-1.el9ap0:4.6.35-1.el8ap0:4.6.35-1.el9ap0:4.7.19-1.el9apExploitability
AV:NAC:HPR:NUI:NScope
S:UImpact
C:HI:HA:H8.1/CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H