CVE-2022-24439
CRITICAL
Published Dec 6, 20223y ago · Modified Jun 17, 20262w ago
9.8 CVSS 3.1
Published Dec 6, 2022 3y ago
Last Modified Jun 17, 2026 2w ago
Description
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.
CVSS Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
No active exploitation signals — not in CISA KEV and no EPSS score yet.
Exploit & Patch Status
Public Exploit Known
No Patch Available
Weaknesses 1
CWE-20 Improper Input Validation Validation
Affected Products 5
| Vendor | Product | Version | Range |
|---|---|---|---|
| gitpython_project | gitpython | * | <3.1.30 |
| fedoraproject | fedora | 36 | any |
| fedoraproject | fedora | 37 | any |
| fedoraproject | fedora | 38 | any |
| debian | debian_linux | 10.0 | any |
References 9
- github.com https://github.com/gitpython-developers/GitPython/blob/bec61576ae75803bc4e60d8de7a629c194313d1c/git/repo/base.py%23L1249
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/07/msg00024.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2024/10/msg00030.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AV5DV7GBLMOZT7U3Q4TDOJO5R6G3V6GH/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IKMVYKLWX62UEYKAN64RUZMOIAMZM5JN/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PF6AXUTC5BO7L2SBJMCVKJSPKWY52I5R/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SJHN3QUXPJIMM6SULIR3PR34UFWRAE7X/
- security.gentoo.org https://security.gentoo.org/glsa/202311-01
- security.snyk.io https://security.snyk.io/vuln/SNYK-PYTHON-GITPYTHON-3113858
Remediation
No remediation data recorded yet
Check vendor advisories and the NVD entry for patch availability.