CVE-2020-14144

High

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.

SeverityHigh
CVSS7.2
Exploit probability—
ProductGitea
PublishedOct 16, 2020
First seenOct 16, 2020

How to fix

Update
  • code.gitea.io/gitea1.12.6 or later

Affected products

ProductAffected versionsFixed in
gitea gitea1.1.0 ≤ v ≤ 1.12.5—
code.gitea.io/giteaGo1.1.0 ≤ v < 1.12.61.12.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.