{"id":"GHSA-3h6c-c475-jm7v","summary":"Arbitrary Code Execution in Gitea","details":"The git hook feature in Gitea 1.1.0 through 1.12.5 allows for authenticated remote code execution.","aliases":["BIT-gitea-2020-14144","CVE-2020-14144"],"modified":"2024-04-22T19:41:45.593034Z","published":"2024-04-22T19:07:03Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2024-04-22T19:07:03Z","nvd_published_at":"2020-10-16T14:15:11Z","cwe_ids":["CWE-78"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14144"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/pull/13058"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/commit/8fe8ab5cbf2977f3a01ea12361df2cd76dce3ea9"},{"type":"WEB","url":"https://docs.github.com/en/enterprise-server%402.19/admin/policies/creating-a-pre-receive-hook-script"},{"type":"WEB","url":"https://docs.github.com/en/enterprise-server@2.19/admin/policies/creating-a-pre-receive-hook-script"},{"type":"WEB","url":"https://docs.gitlab.com/ee/administration/server_hooks.html"},{"type":"WEB","url":"https://github.com/PandatiX/CVE-2021-28378"},{"type":"WEB","url":"https://github.com/PandatiX/CVE-2021-28378#notes"},{"type":"PACKAGE","url":"https://github.com/go-gitea/gitea"},{"type":"WEB","url":"https://github.com/go-gitea/gitea/releases"},{"type":"WEB","url":"https://podalirius.net/articles/exploiting-cve-2020-14144-gitea-authenticated-remote-code-execution"},{"type":"WEB","url":"https://www.exploit-db.com/exploits/49571"},{"type":"WEB","url":"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"},{"type":"WEB","url":"http://packetstormsecurity.com/files/162122/Gitea-Git-Hooks-Remote-Code-Execution.html"}],"affected":[{"package":{"name":"code.gitea.io/gitea","ecosystem":"Go","purl":"pkg:golang/code.gitea.io/gitea"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.1.0"},{"fixed":"1.12.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/04/GHSA-3h6c-c475-jm7v/GHSA-3h6c-c475-jm7v.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}