Insecure Permissions Affecting gogs.io/gogs/models Open this link in a new tab package, versions <0.12.0
Attack Complexity
Low
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications-
snyk-id
SNYK-GOLANG-GOGSIOGOGSMODELS-1083962
-
published
22 Jun 2020
-
disclosed
22 Jun 2020
-
credit
Unknown
Introduced: 22 Jun 2020
CVE-2020-14958 Open this link in a new tabHow to fix?
Upgrade gogs.io/gogs/models
to version 0.12.0 or higher.
Overview
gogs.io/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.