CyberRota Analysis
AI-GeneratedGitPython versions prior to 3.1.58 are susceptible to an arbitrary file overwrite vulnerability that allows attackers to manipulate treeish strings in git read-tree operations. This can lead to unauthorized overwriting of files at paths writable by the attacker, potentially resulting in data loss or system compromise. Organizations using affected versions of GitPython should prioritize patching to mitigate this high-severity risk.
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.58 contain an arbitrary file overwrite vulnerability in IndexFile.from_tree, IndexFile.reset, and IndexFile.merge_tree methods that append caller-influenced treeish strings to git read-tree without option validation or argument separation. Attackers can inject the --index-output option to overwrite arbitrary files with a valid git-index blob, destroying existing file content at attacker-controlled writable paths.
Related CVEs
Other vulnerabilities affecting the same vendor(s)