Advisory

GHSA-4c7m-vv47-7c69

Also known as: CVE-2020-14958, GO-2022-0788

Summary

Insecure Permissions in Gogs

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-05-18 20:33 UTC
Modified
2024-08-21 15:58 UTC

Affected packages and fixes

gogs.io/gogs

Go · All systems

Affected

  • introduced 0, fixed 0.12.0 (semver)

Fixed versions

0.12.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences