Vulnerability advisory

CVE-2020-14144

Published Updated OSV record ↗

Also known as BIT-gitea-2020-14144GHSA-3h6c-c475-jm7v

Severity
  • CVSS 3.xCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/go-gitea/gitea ↗
1d652913425c5e296d60e6ee268a2c1f59a3379a through aa1d9ef6cba71c80170ec8c9ef424cb780fa6481No fix listed
Also listed as affected (22)
  • v1.12.5
  • v1.12.4
  • v1.12.3
  • v1.12.2
  • v1.12.1
  • v1.12.0
  • v1.12.0-rc2
  • v1.12.0-rc1
  • v1.12.0-dev
  • v1.10.5
  • v1.11.0-rc1
  • v1.10.0-rc1
  • v1.11.0-dev
  • v1.9.0-rc1
  • v1.10.0-dev
  • v1.9.0-dev
  • v1.7.0-dev
  • v1.6.0-rc1
  • v1.6.0-dev
  • v1.5.0-rc1
  • v1.5.0-dev
  • v1.1.0

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.

References

  • Codex
  • Claude Code
  • VS Code
  • GitHub Copilot
  • Cursor
  • Cline
  • Windsurf
  • Google Anti-gravity
  • OpenCode
  • Pi
  • Gemini CLI
  • Hermes Agent
  • Zed
  • Junie
  • Qwen Code
  • Kiro
  • Kilo Code
  • Factory Droid

Set up GitHits for your agents

Run this command:

<> bash
npx githits@latest init

What happens next:

  1. Opens your browser to authorize GitHits
  2. Asks whether to set up GitHits at the user or project level
  3. Detects your supported AI coding tools
  4. Lets you choose which tools to configure
  5. Configures the selected tools