Ubuntu Security Notice
USN-5968-1
python-git vulnerability
Details
It was discovered that GitPython did not properly sanitize user inputs for remote URLs in the clone command. By injecting a maliciously crafted remote URL, an attacker could possibly use this issue to execute arbitrary commands on the host.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | python-git | All versions before 0.3.2~RC1-3ubuntu0.1~esm1 (fixed in 0.3.2~RC1-3ubuntu0.1~esm1) |
| Ubuntu:Pro:16.04:LTS | python-git | All versions before 1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm1 (fixed in 1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm1) |
| Ubuntu:Pro:18.04:LTS | python-git | All versions before 2.1.8-1ubuntu0.1~esm1 (fixed in 2.1.8-1ubuntu0.1~esm1) |
| Ubuntu:Pro:20.04:LTS | python-git | All versions before 3.0.7-1ubuntu0.1~esm1 (fixed in 3.0.7-1ubuntu0.1~esm1) |
| Ubuntu:Pro:22.04:LTS | python-git | All versions before 3.1.24-1ubuntu0.1~esm1 (fixed in 3.1.24-1ubuntu0.1~esm1) |