Vulnerability advisory

CVE-2020-14958

Published Updated OSV record ↗

Also known as GHSA-4c7m-vv47-7c69GO-2022-0788

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

Affected versions

Repository

Affected commitsFixed by commit
GIT github.com/gogs/gogs ↗
c154721f4a8f3e24d2f6fb61e74b4b64529255c2 through c154721f4a8f3e24d2f6fb61e74b4b64529255c2No fix listed
Not specified82ff0c5852f29daa5f95d965fd50665581e7ea3c
Also listed as affected (2)
  • 0.11.91
  • v0.11.91

Description

In Gogs 0.11.91, MakeEmailPrimary in models/user_mail.go lacks a "not the owner of the email" check.

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