Insecure Permissions Affecting github.com/gogs/gogs/models Open this link in a new tab package, versions <0.12.0


0.0
medium
  • 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-GITHUBCOMGOGSGOGSMODELS-572941

  • published

    22 Jun 2020

  • disclosed

    22 Jun 2020

  • credit

    Unknown

How to fix?

Upgrade github.com/gogs/gogs/models to version 0.12.0 or higher.

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.