Lucene search

K
gentooGentoo FoundationGLSA-202311-01
HistoryNov 01, 2023 - 12:00 a.m.

GitPython: Code Execution via Crafted Input

2023-11-0100:00:00
Gentoo Foundation
security.gentoo.org
17
gitpython
code execution
crafted input
remote code execution
user input validation
input sanitization
git repository
library
upgrade
vulnerability

9.8 High

AI Score

Confidence

High

0.011 Low

EPSS

Percentile

84.1%

Background

GitPython is a Python library used to interact with Git repositories.

Description

Please review the CVE identifier referenced below for details.

Impact

An attacker may be able to trigger 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.

Workaround

There is no known workaround at this time.

Resolution

All GitPython users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-python/GitPython-3.1.30"
OSVersionArchitecturePackageVersionFilename
Gentooanyalldev-python/gitpython< 3.1.30UNKNOWN