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)
Oficjalny opis 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.
Pełny i nieskrócony, z bazy CVE/NVD; tekst źródłowy powyżej jest celowo tylko fragmentem. Do dossier CVE
Information ergänzen Fachhinweis, Update, Korrektur oder Quelle zur Meldung beitragen
Community-Hinweise zur Meldung
Exploit Weaponization & PoC Radar
Pilność IT-Admin · Powierzchnia ataku · Dowody Exploitów
Biuletyny producentów i status poprawek
Biuletyny producentów · Łatki · Zweryfikowane źródła pierwotne
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
Taksonomia słabości CWE i architektura obronna
Klasy słabości · Przyczyna źródłowa · Mitygacja
Cyber Threat Intelligence i Kryminalistyka
Navigator ATT&CK · Radar IoC i Graf
Zgodność, SLA i adherencja producenta
Wektor CVSS · Klasyfikacja wyniku · Triage organów
BSI-Warnung (Deutschland)CVE-2023-41040
SaltStack Salt: Mehre Schwachstellen hoch21.09.2023CISA-SSVC-Triage (vulnrichment)CVE-2023-41040
Intelligence Digest - bezpłatnie
Codziennie najważniejsze wiadomości bezpieczeństwa · można pobrać w każdej chwili
💬 Dyskusja społeczności i komentarze
Rozpocznij dyskusję w strumieniu transmisji Social Chat lub prześlij wyżej wkład ekspercki przez formularz uzupełnień.