GHSA-4c7m-vv47-7c69

Suggest an improvement
Source
https://github.com/advisories/GHSA-4c7m-vv47-7c69
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-4c7m-vv47-7c69/GHSA-4c7m-vv47-7c69.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-4c7m-vv47-7c69
Aliases
Published
2021-05-18T20:33:05Z
Modified
2024-08-21T15:58:30.165636Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Insecure Permissions in Gogs
Details

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

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2021-05-12T14:55:34Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-281"
    ]
}
References

Affected packages

Go / gogs.io/gogs

Package

Name
gogs.io/gogs
View open source insights on deps.dev
Purl
pkg:golang/gogs.io/gogs

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.12.0