External Control of File Name or PathGitPython is a python library used to interact with Git repositories
Affected versions of this package are vulnerable to External Control of File Name or Path in the Repo.archive. An attacker can access arbitrary files on the filesystem by supplying specially crafted options that are not properly denied by the existing guard, such as --add-file or --add-virtual-file, which allow reading files outside the intended repository and including their contents in the generated archive.
How to fix External Control of File Name or Path? Upgrade GitPython to version 3.1.57 or higher.
| |
External Control of File Name or PathGitPython is a python library used to interact with Git repositories
Affected versions of this package are vulnerable to External Control of File Name or Path in the Repo.archive. An attacker can access arbitrary files on the filesystem by supplying specially crafted options that are not properly denied by the existing guard, such as --add-file or --add-virtual-file, which allow reading files outside the intended repository and including their contents in the generated archive.
How to fix External Control of File Name or Path? Upgrade GitPython to version 3.1.57 or higher.
| |
External Control of File Name or PathGitPython is a python library used to interact with Git repositories
Affected versions of this package are vulnerable to External Control of File Name or Path via the forwarding of unguarded options in the checkout and create functions. An attacker can overwrite arbitrary files or read arbitrary files by supplying crafted arguments to these functions, which are then passed directly to underlying git commands without proper validation.
How to fix External Control of File Name or Path? Upgrade GitPython to version 3.1.57 or higher.
| |
Arbitrary Argument InjectionGitPython is a python library used to interact with Git repositories
Affected versions of this package are vulnerable to Arbitrary Argument Injection via the Commit.count function. An attacker can cause arbitrary files to be truncated to zero bytes by injecting the output argument, leading to loss of data integrity and availability.
How to fix Arbitrary Argument Injection? Upgrade GitPython to version 3.1.56 or higher.
| |
Information ExposureGitPython is a python library used to interact with Git repositories
Affected versions of this package are vulnerable to Information Exposure in the Repo.create_remote process when attacker-controlled URLs are passed and environment variables are expanded into the URL. An attacker can obtain sensitive environment secrets by supplying a crafted URL containing environment variable references, which are then expanded and stored in configuration files and transmitted to attacker-controlled servers during subsequent network operations.
How to fix Information Exposure? Upgrade GitPython to version 3.1.55 or higher.
| |
Arbitrary Argument InjectionGitPython is a python library used to interact with Git repositories
Affected versions of this package are vulnerable to Arbitrary Argument Injection via the diff process. An attacker can overwrite or corrupt arbitrary files with attacker-influenced diff content by injecting malicious arguments into the other parameter or by supplying crafted keyword arguments, leading to unauthorized file modification at the process privilege level.
How to fix Arbitrary Argument Injection? Upgrade GitPython to version 3.1.54 or higher.
| |
Incomplete List of Disallowed InputsGitPython is a python library used to interact with Git repositories
Affected versions of this package are vulnerable to Incomplete List of Disallowed Inputs via the clone_from process. An attacker can execute arbitrary commands by supplying a crafted directory containing malicious hooks as the template parameter during a clone operation. This is only exploitable if the attacker can provide a directory with executable hooks accessible to the target system, such as through shared filesystems, upload directories, or attacker-writable network paths.
How to fix Incomplete List of Disallowed Inputs? Upgrade GitPython to version 3.1.54 or higher.
| |
Arbitrary Argument InjectionGitPython is a python library used to interact with Git repositories
Affected versions of this package are vulnerable to Arbitrary Argument Injection via the check_unsafe_options process. An attacker can execute arbitrary commands by smuggling a malicious option token inside the value of a single-character keyword argument, which bypasses the intended guard and results in the execution of attacker-supplied commands.
How to fix Arbitrary Argument Injection? Upgrade GitPython to version 3.1.54 or higher.
| |