CVE-2020-14144
Arbitrary Code Execution in Gitea
Description
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.
How to fix CVE-2020-14144
To remediate CVE-2020-14144, upgrade the affected package to a fixed version below.
- —upgrade to 1.12.6 or later
- —upgrade to 1.12.6 or later
Is CVE-2020-14144 being exploited?
Likely — EPSS is 93.5%, placing CVE-2020-14144 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (2)
- >= 1.1.0, < 1.12.6
- >= 1.1.0, < 1.12.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |