Originalbeschreibung
The git hook feature in Gitea 1.1.0 through 1.12.5 might allow for authenticated remote code execution in customer environments where the documentation was not understood (e.g., one viewpoint is that the dangerousness of this feature should be documented immediately above the ENABLE_GIT_HOOKS line in the config file). NOTE: The vendor has indicated this is not a vulnerability and states "This is a functionality of the software that is limited to a very limited subset of accounts. If you give someone the privilege to execute arbitrary code on your server, they can execute arbitrary code on your server. We provide very clear warnings to users around this functionality and what it provides.
Betroffene Software
- Gitea *≥ 1.1.0 ≤ 1.12.5 Repository- oder Paket-Übereinstimmung
Details
- Veröffentlicht
- 2020-10-16
- Zuletzt geändert
- 2026-06-17
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-78
- EPSS (Ausnutzungswahrscheinlichkeit in 30 Tagen)
- 95.43% (Perzentil 100)
Referenzen
- cve.org/CVE-2020-14144
- nvd.nist.gov/vuln/detail/CVE-2020-14144
- packetstormsecurity.com/files/162122/Gitea-Git-Hooks-Remote-Code-Execution.html
- docs.github.com/en/enterprise-server%402.19/admin/policies/creating-a-pre-receive-hook-scr...
- docs.gitlab.com/ee/administration/server_hooks.html
- github.com/PandatiX/CVE-2021-28378
- github.com/PandatiX/CVE-2021-28378#notes
- github.com/go-gitea/gitea/pull/13058
- github.com/go-gitea/gitea/releases
- www.fzi.de/en/news/news/detail-en/artikel/fsa-2020-3-schwachstelle-in-gitea-1125-und-gogs-...
Verfolgen Sie diese Versionen auf Ihren eigenen Servern
InfraGuard erfasst die installierten Softwareversionen auf jedem Server und markiert diejenigen mit bekannten Schwachstellen. Self-Hosted – nichts verlässt Ihr Netzwerk.
Dieses Produkt verwendet Daten der NVD-API, ist jedoch nicht von der NVD empfohlen oder zertifiziert. CVE® ist eine eingetragene Marke von The MITRE Corporation; CVE-Datensätze werden gemäß den Nutzungsbedingungen des CVE Program verwendet.