Improper Input Validation Affecting python-git package, versions <3.1.27-1ubuntu0.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
0.93% (84th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UBUNTU2210-PYTHONGIT-3160581
  • published7 Dec 2022
  • disclosed6 Dec 2022

Introduced: 6 Dec 2022

CVE-2022-24439  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.10 python-git to version 3.1.27-1ubuntu0.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python-git package and not the python-git package as distributed by Ubuntu. See How to fix? for Ubuntu:22.10 relevant fixed versions and status.

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 Base Scores

version 3.1