CVE-2022-24439
Published: 06 December 2022
Summary
CVE-2022-24439 is a high-severity Improper Input Validation (CWE-20) vulnerability in Fedoraproject Fedora. Its CVSS base score is 8.1 (High).
Operationally, ranked in the top 1.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
GitPython, a Python library for interacting with Git repositories, is affected by CVE-2022-24439 in all versions. The vulnerability is a remote code execution flaw stemming from improper input validation (CWE-20) that allows a maliciously crafted remote URL to be injected into Git clone operations. Because the library invokes external Git commands without sufficient sanitization of arguments, untrusted input can reach the underlying Git process.
An attacker who can control or influence the remote URL supplied to GitPython functions such as clone can achieve arbitrary command execution on the host. The attack requires no user interaction or authentication in the vulnerable code path and carries a CVSS 3.1 score of 8.1, reflecting high impact on confidentiality, integrity, and availability under network attack vectors with high complexity.
Debian and Fedora security advisories reference updates that address the issue in affected package versions; practitioners should apply the patched GitPython releases or distribution updates listed in the Debian LTS announcement and the corresponding Fedora package notices. The EPSS score remains elevated near its recorded peak of 0.70, indicating sustained exploitation interest after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-0114
Vulnerability 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…
more
library makes external calls to git without sufficient sanitization of input arguments.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Security testing and developer training directly verify and enforce proper input validation, reducing exploitability of injection and malformed-data weaknesses.
Security testing and evaluation at multiple SDLC stages directly detects missing or flawed input validation, with the required remediation process ensuring fixes are applied.
Directly implements checks on information inputs to reject invalid data before processing.
Spam protection mechanisms perform filtering and detection on inbound/outbound messages, directly compensating for missing or weak input validation of unsolicited content.