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)
Descrizione ufficiale della 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.
Integrale e non abbreviata, dai dati CVE/NVD; il testo di origine qui sopra è volutamente solo un estratto. Al dossier CVE
Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Community-Hinweise zur Meldung
Radar Weaponization e PoC
Urgenza Admin IT · Superficie di Attacco · Evidenze
Bollettini dei Produttori e Stato Patch
Bollettini dei produttori · Patch · Fonti primarie verificate
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
Tassonomia delle vulnerabilità CWE e architettura difensiva
Classi di debolezza · Causa radice · Mitigazione
Cyber Threat Intelligence e Forense
Navigatore ATT&CK · Radar IoC e Grafo
Compliance, SLA e aderenza del produttore
Vettore CVSS · Classificazione del punteggio · Triage degli enti
BSI-Warnung (Deutschland)CVE-2023-41040
SaltStack Salt: Mehre Schwachstellen hoch21.09.2023CISA-SSVC-Triage (vulnrichment)CVE-2023-41040
Intelligence Digest — gratuito
Ogni giorno le notizie di sicurezza più importanti · annullabile in qualsiasi momento
💬 Discussione della community e commenti
Avvia la discussione nel flusso broadcast della Social Chat oppure invia qui sopra un contributo esperto tramite il modulo di integrazione.