CVE-2022-24439: Remote Code Execution (RCE)

Published Dec 6, 2022
·
Updated

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 Software

6 affected componentsFixes available
pip/GitPython<=3.1.29
3.1.30
Gitpython Project Gitpython Python<3.1.30
Fedoraproject Fedora=36
Fedoraproject Fedora=37
Fedoraproject Fedora=38
Debian Debian Linux=10.0

Event History

Dec 6, 2022
CVE Published
05:15 AM
Data Sourced
via NVD·05:15 AM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·06:30 AM
Dec 7, 2022
Data Sourced
via Red Hat·02:47 PM
DescriptionSeverityAffected Software
Dec 12, 2022
CVE Published
via MITRE·01:49 AM
Data Sourced
via MITRE·01:49 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2022-24439?

The severity of CVE-2022-24439 is critical with a CVSS score of 9.8.

2

How does CVE-2022-24439 affect GitPython?

All versions of GitPython up to and including 3.1.29 are affected by CVE-2022-24439.

3

How does CVE-2022-24439 enable remote code execution (RCE)?

CVE-2022-24439 enables remote code execution (RCE) by allowing an attacker to inject a malicious remote URL into the clone command.

4

What is the recommended remedy for CVE-2022-24439 in GitPython?

The recommended remedy for CVE-2022-24439 in GitPython is to update to version 3.1.30.

5

Are there any references available for CVE-2022-24439?

Yes, you can find references for CVE-2022-24439 at the following links: [link1](https://github.com/gitpython-developers/GitPython/blob/bec61576ae75803bc4e60d8de7a629c194313d1c/git/repo/base.py%23L1249), [link2](https://lists.debian.org/debian-lts-announce/2023/07/msg00024.html), [link3](https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IKMVYKLWX62UEYKAN64RUZMOIAMZM5JN/).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203