Vulnerability · Published Oct 16, 2020 · Assigned by mitre

CVE-2020-14144

High 7.2

In plain English

A high-severity security flaw in the code.gitea.io/gitea package (Go). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 95.4% (higher than 99.9% of all known vulnerabilities). Ready-made attack tooling exists: Metasploit, Nuclei, public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.2High
Exploit odds (30 days)95.4%top 0.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling3Metasploit, Nuclei, Public PoC

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gocode.gitea.io/gitea1.12.6GHSA-3h6c-c475-jm7v

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References