GitHub Advisoryadvisory · Go

GHSA-4c7m-vv47-7c69 Insecure Permissions in Gogs

MEDIUM Published 2021-05-18 Modified 2021-05-12 Official page ↗
Aliases
CVE-2020-14958
Ecosystem
Go
Packages
gogs.io/gogs
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-281
Reviewed
2021-05-12

Affected packages

• Go gogs.io/gogs: < 0.12.0 → fixed in 0.12.0

Description

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

Related

Alias · CVE (1)

  • CVE-2020-14958 In Gogs 0.11.91, MakeEmailPrimary in models/user_mail.go lacks a "not the owner of the email" check. vulnerability

Weakness · CWE (1)

  • CWE-281 Improper Preservation of Permissions weakness

References