ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2022-24439

Details

All versions of package gitpython are vulnerable to Remote Code Execution (RCE) due to improper user input validation, which makes it possible to inject a maliciously crafted remote URL into the clone command. Exploiting this vulnerability is possible because the library makes external calls to git without sufficient sanitization of input arguments.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:14.04:LTSpython-git
All versions before 0.3.2~RC1-3ubuntu0.1~esm1 (fixed in 0.3.2~RC1-3ubuntu0.1~esm1)
Ubuntu:Pro:16.04:LTSpython-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:LTSpython-git
All versions before 2.1.8-1ubuntu0.1~esm1 (fixed in 2.1.8-1ubuntu0.1~esm1)
Ubuntu:Pro:20.04:LTSpython-git
All versions before 3.0.7-1ubuntu0.1~esm1 (fixed in 3.0.7-1ubuntu0.1~esm1)
Ubuntu:Pro:22.04:LTSpython-git
All versions before 3.1.24-1ubuntu0.1~esm1 (fixed in 3.1.24-1ubuntu0.1~esm1)

References