CVE-2023-40267 Affecting python-git package, versions <3.0.7-1ubuntu0.1~esm2


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.18% (65th 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 IDSNYK-UBUNTU2004-PYTHONGIT-5840150
  • published12 Jul 2025
  • disclosed11 Aug 2023

Introduced: 11 Aug 2023

CVE-2023-40267  (opens in a new tab)

How to fix?

Upgrade Ubuntu:20.04 python-git to version 3.0.7-1ubuntu0.1~esm2 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:20.04 relevant fixed versions and status.

GitPython before 3.1.32 does not block insecure non-multi options in clone and clone_from. NOTE: this issue exists because of an incomplete fix for CVE-2022-24439.

CVSS Base Scores

version 3.1