CVE-2022-24439
Published: 6 December 2022
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.
Priority
Status
Package | Release | Status |
---|---|---|
gitpython Launchpad, Ubuntu, Debian |
bionic |
Does not exist
|
focal |
Does not exist
|
|
jammy |
Does not exist
|
|
kinetic |
Does not exist
|
|
trusty |
Ignored
(out of standard support)
|
|
upstream |
Needs triage
|
|
xenial |
Ignored
(out of standard support)
|
|
python-git Launchpad, Ubuntu, Debian |
bionic |
Released
(2.1.8-1ubuntu0.1~esm1)
|
focal |
Needs triage
|
|
jammy |
Needs triage
|
|
kinetic |
Released
(3.1.27-1ubuntu0.1)
|
|
lunar |
Needs triage
|
|
trusty |
Released
(0.3.2~RC1-3ubuntu0.1~esm1)
|
|
upstream |
Needs triage
|
|
xenial |
Released
(1.0.1+git137-gc8b8379-2.1ubuntu0.1~esm1)
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 9.8 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24439
- https://security.snyk.io/vuln/SNYK-PYTHON-GITPYTHON-3113858
- https://github.com/gitpython-developers/GitPython/issues/1515
- https://github.com/gitpython-developers/GitPython/blob/bec61576ae75803bc4e60d8de7a629c194313d1c/git/repo/base.py%23L1249
- https://ubuntu.com/security/notices/USN-5968-1
- NVD
- Launchpad
- Debian