Skip to content

Insecure Permissions in Gogs

Moderate severity GitHub Reviewed Published May 18, 2021 to the GitHub Advisory Database • Updated Jan 9, 2023

Package

gomod gogs.io/gogs (Go)

Affected versions

< 0.12.0

Patched versions

0.12.0

Description

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

References

Reviewed May 12, 2021
Published to the GitHub Advisory Database May 18, 2021
Last updated Jan 9, 2023

Severity

Moderate
5.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Weaknesses

CVE ID

CVE-2020-14958

GHSA ID

GHSA-4c7m-vv47-7c69

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.