CWE
20 94
Advisory Published
Advisory Published
Updated

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

First published: Tue Dec 06 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.

Credit: report@snyk.io report@snyk.io report@snyk.io

Affected SoftwareAffected VersionHow to fix
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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is the severity of CVE-2022-24439?

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

  • How does CVE-2022-24439 affect GitPython?

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

  • 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.

  • 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.

  • 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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203