-
-
Notifications
You must be signed in to change notification settings - Fork 698
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
There is a Remote Code Execution vulnerability in all versions of gitpython.
See: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24439
Reproduction steps
1. Install bandit version 1.7.4
2. It requires gitpython >=1.0.1 (but installs 3.1.29)
3. gitpython 3.1.29 has the reported vulnerability
Expected behavior
Proper input validation for git URLs needs to exist so that it is NOT possible to inject a maliciously crafted remote URL into the clone command.
Bandit version
1.7.4 (Default)
Python version
3.11 (Default)
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working