Vulnerability advisory

CVE-2020-28991

Published Updated OSV record ↗

Also known as BIT-gitea-2020-28991GHSA-r7h7-chh4-5rvm

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

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/go-gitea/gitea ↗
6bcff7828f117af8d51285ce3acba01a7e40a867 to before 53b89c34742855e0c5a7f989d6506f02791678af53b89c34742855e0c5a7f989d6506f02791678af
Also listed as affected (24)
  • 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
  • v1.0.0
  • v0.9.99

Description

Gitea 0.9.99 through 1.12.x before 1.12.6 does not prevent a git protocol path that specifies a TCP port number and also contains newlines (with URL encoding) in ParseRemoteAddr in modules/auth/repo_form.go.

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