Input validation error in gogs - CVE-2020-14958
Published: June 21, 2020 / Updated: August 8, 2020
Vulnerability identifier: #VU34206
CSH Severity: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2020-14958
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerable software:
gogs
gogs
Software vendor:
gogs.io
gogs.io
Description
The vulnerability allows a remote authenticated user to manipulate data.
In Gogs 0.11.91, MakeEmailPrimary in models/user_mail.go lacks a "not the owner of the email" check.
Remediation
Install update from vendor's website.