gitpython is vulnerable to Argument Injection
81
CVE Score
High
Argument Injection
Remote.pull() forwards the remote name and positional refspec to self.repo.git.pull() and does not reject an operand that starts with -. git pull passes those operands to an internal git fetch without a -- separator, so a value such as --upload-pack=<command> runs as the upload-pack program on a local-path or SSH remote. Keyword-only guards, including Git._option_candidates([], kwargs) where that call is present, never inspect the positional refspec. The fix rejects a remote name or pull refspec that starts with -.
Upgrade the gitpython package to version 3.2.0 or later.
You are affected if you are using a version that falls within the vulnerable range and call Remote.pull() with a refspec or remote name that starts with - on a local-path or SSH remote.
0.3.2 - 3.1.62
Fixed in 3.2.0gitpython is vulnerable to Argument Injection in versions 0.3.2 - 3.1.62.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.