Vulnerability advisory
GHSA-3h6c-c475-jm7v
Arbitrary Code Execution in Gitea
Also known as BIT-gitea-2020-14144CVE-2020-14144
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Affected versions
| Affected | Fixed in |
|---|---|
1.1.0 to before 1.12.6 | 1.12.6 |
Description
The git hook feature in Gitea 1.1.0 through 1.12.5 allows for authenticated remote code execution.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2020-14144 ↗
- Webgithub.com/go-gitea/gitea/pull/13058 ↗
- Webgithub.com/go-gitea/gitea/commit/8fe8ab5cbf2977f3a01ea12361df2cd76dce3ea9 ↗
- Webdocs.github.com/en/enterprise-server%402.19/admin/policies/creating-a-pre-receive-hook-script ↗
- Webdocs.github.com/en/enterprise-server@2.19/admin/policies/creating-a-pre-receive-hook-script ↗
- Webdocs.gitlab.com/ee/administration/server_hooks.html ↗
- Webgithub.com/PandatiX/CVE-2021-28378 ↗
- Webgithub.com/PandatiX/CVE-2021-28378#notes ↗
- Packagegithub.com/go-gitea/gitea ↗
- Webgithub.com/go-gitea/gitea/releases ↗
- Webpodalirius.net/articles/exploiting-cve-2020-14144-gitea-authenticated-remote-code-execution ↗
- Webwww.exploit-db.com/exploits/49571 ↗
- Webwww.fzi.de/en/news/news/detail-en/artikel/fsa-2020-3-schwachstelle-in-gitea-1125-und-gogs-0122-ermoeglicht-ausfuehrung-von-code-nach-authent ↗
- Webpacketstormsecurity.com/files/162122/Gitea-Git-Hooks-Remote-Code-Execution.html ↗