CVE-2020-14144: OS Command Injection
DISPUTED 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 ENABLEGITHOOKS 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."
Other sources
The git hook feature in Gitea 1.1.0 through 1.12.5 allows for authenticated remote code execution.
— GitHub
Affected Software
Event History
Frequently Asked Questions
What is CVE-2020-14144?
CVE-2020-14144 is a vulnerability found in the git hook feature in Gitea 1.1.0 through 1.12.5 that might allow for authenticated remote code execution.
What is the severity of CVE-2020-14144?
The severity of CVE-2020-14144 is high with a CVSS score of 7.2.
How does CVE-2020-14144 affect Gitea?
CVE-2020-14144 affects Gitea versions 1.1.0 through 1.12.5.
How can I fix CVE-2020-14144?
To fix CVE-2020-14144, it is recommended to update Gitea to a version beyond 1.12.5 or apply any official patches or fixes provided by the Gitea team.
Where can I find more information about CVE-2020-14144?
You can find more information about CVE-2020-14144 at the following references: [Reference 1](http://packetstormsecurity.com/files/162122/Gitea-Git-Hooks-Remote-Code-Execution.html), [Reference 2](https://docs.github.com/en/enterprise-server@2.19/admin/policies/creating-a-pre-receive-hook-script), [Reference 3](https://docs.gitlab.com/ee/administration/server_hooks.html)