Intelligence View
USN-8303-1: GitPython vulnerabilities
Santos Gallegos discovered that GitPython did not properly validate paths when resolving certain Git references. An attacker could possibly use this issue to…
CVE & Threat-Kontext · 2 Min. Lesezeit
paths when resolving certain Git references. An attacker could possibly
use this issue to cause files outside the .git directory to be accessed,
leading to a denial of service. This issue only affected Ubuntu 14.04
LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, and Ubuntu
22.04 LTS. (CVE-2023-41040)
Wes Ring discovered that GitPython did not properly block certain unsafe
Git options when they were provided as Python keyword arguments. An
attacker could possibly use this issue to cause arbitrary command
execution. (CVE-2026-42215)
It was discovered that GitPython did not properly validate clone options
before processing them. An attacker could possibly use this issue to
inject unsafe Git configuration, leading to arbitrary command execution
through Git hooks. This issue only affected Ubuntu 20.04 LTS, Ubuntu
22.04 LTS, Ubuntu 24.04 LTS, and Ubuntu 26.04 LTS. (CVE-2026-42284)
It was discovered that GitPython did not properly validate reference
paths during reference operations. An attacker could possibly use this
issue to write, overwrite, move, or delete files outside the repository.
(CVE-2026-44243)
Dan Aridor discovered that GitPython did not properly validate
configuration values before writing them to Git configuration files. An
attacker could possibly use this issue to inject unsafe Git
configuration, leading to arbitrary command execution through Git hooks.
(CVE-2026-44244)
Descripción oficial de la CVE
CVE-2023-41040GitPython is a python library used to interact with Git repositories. In order to resolve some git references, GitPython reads files from the `.git` directory, in some places the name of the file being read is provided by the user, GitPython doesn't check if this file is located outside the `.git` directory. This allows an attacker to make GitPython read any file from the system. This vulnerability is present in https://github.com/gitpython-developers/GitPython/blob/1c8310d7cae144f74a671cbe17e51f63a830adbf/git/refs/symbolic.py#L174-L175. That code joins the base directory with a user given string without checking if the final path is located outside the base directory. This vulnerability cannot be used to read the contents of files but could in theory be used to trigger a denial of service for the program. This issue has been addressed in version 3.1.37.
Íntegra y sin recortes, procedente del fondo CVE/NVD; el texto de origen anterior es solo un extracto a propósito. Al dossier de la CVE
Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Community-Hinweise zur Meldung
Radar de Armamento y PoC
Urgencia Admin TI · Superficie de Ataque · Evidencias
Avisos de Fabricantes y Estado de Parches
Boletines del fabricante · Parches · Fuentes primarias verificadas
Hersteller-Advisory noch nicht formal hinterlegt. Regelmäßiges Re-Scanning der CTI-Quellen anberaumt.
-
GitHub Advisory (GHSA) gitpython-developers/GitPython/security/advisories/GHSA…Patch prüfen
-
GitHub PR gitpython-developers/GitPython/pull/1672Patch prüfen
-
GitHub Commit gitpython-developers/GitPython/commit/74e55ee4544867e1b…Patch prüfen
-
GitHub Commit gitpython-developers/GitPython/commit/e98f57b81f792f0f5…Patch prüfen
-
GitHub Release gitpython-developers/GitPython/releases/tag/3.1.37Patch prüfen
-
Upstream-Referenz (Code-Hosting, kein Advisory)github.com
-
Upstream-Referenz (Code-Hosting, kein Advisory)github.com
-
Upstream-Referenz (Code-Hosting, kein Advisory)github.com
-
Upstream-Referenz (Code-Hosting, kein Advisory)github.com
-
Upstream-Referenz (Code-Hosting, kein Advisory)github.com
-
Upstream-Referenz (Code-Hosting, kein Advisory)github.com
-
NIST NVD (CVE-2023-41040)nvd.nist.gov
Taxonomía de vulnerabilidades CWE y arquitectura defensiva
Clases de debilidad · Causa raíz · Mitigación
Inteligencia de Ciberamenazas y Forense
Navegador ATT&CK · Radar IoC y Grafo
Cumplimiento, SLA y adherencia del fabricante
Vector CVSS · Clasificación de la puntuación · Triaje de organismos
BSI-Warnung (Deutschland)CVE-2023-41040
SaltStack Salt: Mehre Schwachstellen hoch21.09.2023CISA-SSVC-Triage (vulnrichment)CVE-2023-41040
Intelligence Digest — gratis
Cada día las noticias de seguridad más importantes · baja en cualquier momento
💬 Debate de la comunidad y comentarios
Inicia el debate en el stream de difusión del Social Chat o envía arriba una contribución experta mediante el formulario de ampliación.