Insecure Permissions

Affecting github.com/gogs/gogs/models package, versions *

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

github.com/gogs/gogs/models is a simple, stable and extensible self-hosted Git service

Affected versions of this package are vulnerable to Insecure Permissions. MakeEmailPrimary in models/user_mail.go lacks a "not the owner of the email" check.

Remediation

A fix was pushed into the master branch but not yet published.

References

CVSS Score

5.3
medium severity
  • 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
Credit
Unknown
CVE
CVE-2020-14958
CWE
CWE-275
Snyk ID
SNYK-GOLANG-GITHUBCOMGOGSGOGSMODELS-572941
Disclosed
22 Jun, 2020
Published
22 Jun, 2020