CyberRota Analysis
AI-GeneratedGitPython versions prior to 3.1.54 are susceptible to an arbitrary file overwrite vulnerability due to inadequate validation of git options in the Diffable.diff method. This flaw allows attackers to manipulate the --output argument, enabling them to write malicious patch content to arbitrary file paths with the privileges of the running process. Organizations using affected versions should prioritize patching to mitigate the risk of unauthorized file modifications.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
GitPython versions before 3.1.54 contain an arbitrary file overwrite vulnerability in the Diffable.diff method that fails to validate git options passed through kwargs. Attackers can supply the --output argument via the other parameter or output kwarg to write patch content to attacker-chosen file paths at process privilege level.