GitHub Advisoryadvisory · Go
GHSA-3h6c-c475-jm7v Arbitrary Code Execution in Gitea
HIGH
Official page ↗
- Aliases
- CVE-2020-14144
- Ecosystem
- Go
- Packages
- code.gitea.io/gitea
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-78
- Reviewed
- 2024-04-22
Affected packages
• Go code.gitea.io/gitea: >= 1.1.0, < 1.12.6 → fixed in 1.12.6
Description
The git hook feature in Gitea 1.1.0 through 1.12.5 allows for authenticated remote code execution.
Related
Alias · CVE (1)
- CVE-2020-14144 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… vulnerability
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-14144 advisory
- https://github.com/go-gitea/gitea/pull/13058 web
- https://github.com/go-gitea/gitea/commit/8fe8ab5cbf2977f3a01ea12361df2cd76dce3ea9 web
- https://docs.github.com/en/enterprise-server%402.19/admin/policies/creating-a-pre-receive-hook-script web
- https://docs.github.com/en/[email protected]/admin/policies/creating-a-pre-receive-hook-script web
- https://docs.gitlab.com/ee/administration/server_hooks.html web
- https://github.com/PandatiX/CVE-2021-28378 web
- https://github.com/PandatiX/CVE-2021-28378#notes web
- https://github.com/go-gitea/gitea package
- https://github.com/go-gitea/gitea/releases web
- https://podalirius.net/articles/exploiting-cve-2020-14144-gitea-authenticated-remote-code-execution web
- https://www.exploit-db.com/exploits/49571 web
- https://www.fzi.de/en/news/news/detail-en/artikel/fsa-2020-3-schwachstelle-in-gitea-1125-und-gogs-0122-ermoeglicht-ausfuehrung-von-code-nach-authent web
- http://packetstormsecurity.com/files/162122/Gitea-Git-Hooks-Remote-Code-Execution.html web