QID 994839

Date Published: 2023-08-14

QID 994839: Python (Pip) Security Update for GitPython (GHSA-pr76-5cm5-w9cj)

GitPython before 3.1.32 does not block insecure non-multi options in clone and clone_from, making it 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. NOTE: this issue exists because of an incomplete fix for CVE-2022-24439.

Successful exploitation of this vulnerability could lead to a security breach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 9.8 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Refer to Github security advisory GHSA-pr76-5cm5-w9cj for updates and patch information.
    Vendor References

    CVEs related to QID 994839

    Software Advisories
    Advisory ID Software Component Link
    GHSA-pr76-5cm5-w9cj GitPython URL Logo github.com/advisories/GHSA-pr76-5cm5-w9cj