7.2

CVE-2020-14144: gitea OS Command Injection

Modified
AliasesGHSA-3h6c-c475-jm7vBIT-gitea-2020-14144
Published 16-10-2020Last modified 04-08-2024

Vulnerability summary

CVE-2020-14144 is a high (CVSS 7.2) OS Command Injection vulnerability in gitea. EPSS estimates a 95.43% chance of exploitation in the next 30 days, higher than 99.8% of scored vulnerabilities. 3 public exploits are recorded.

Overall risk
58/100
0100
High · default modelHow is this calculated?
CVSS score
7.2/10
010
High · v3.1 (NVD)
EPSS score
95.43%
0%100%
Critical · +0.07 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits3github, reference, metasploit

Timeline

  1. 16-10-2020
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 2 sources · 2 versions

EPSS trend

Probability

95.43%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

Increase +0.07 pp

From 95.36% on 22-09-2026

22-09-202622-10-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

3 found
  • githubUnverified

    Cve 2021 28378

    Maturity: poc

  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • MetasploitMetasploitremoteVerified

    Gitea Git Hooks Remote Code Execution

    exploit/multi/http/gitea_git_hooks_rce

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Code.gitea.io1 product
  • gitea≥ 1.1.0, < 1.12.6
Gitea1 product
  • gitea≥ 1.1.0, ≤ 1.12.5

2 vendors · 2 products

References

15 links
Show all 15 references