Vulnerability advisory
GHSA-4c7m-vv47-7c69
Insecure Permissions in Gogs
Also known as CVE-2020-14958GO-2022-0788
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected versions
| Affected | Fixed in |
|---|---|
| All versions before 0.12.0 | 0.12.0 |
Description
In Gogs 0.11.91, MakeEmailPrimary in models/user_mail.go lacks a "not the owner of the email" check.