CVE-2020-14958
MEDIUM 6.5CVSS 3.1Insecure Permissions in Gogs
In Gogs 0.11.91, MakeEmailPrimary in models/user_mail.go lacks a "not the owner of the email" check.
- Published
- 21 Jun 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-281
- Also known as
- GHSA-4c7m-vv47-7c69GO-2022-0788
- Sources
- NVDJSONOSV GHSA-4c7m-vv47-7c69JSONOSV GO-2022-0788JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.0 | AV:N/AC:L/Au:S/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | gogs | gogscpe:2.3:a:gogs:gogs:0.11.91:*:*:*:*:*:*:* |
= 0.11.91 | |
| OSV | Go | gogs.io/gogs | < 0.12.0 | 0.12.0 |
References
- https://github.com/gogs/gogs/commit/82ff0c5852f29daa5f95d965fd50665581e7ea3c · Patch, Third Party Advisory, WEB
- https://github.com/gogs/gogs/pull/5988 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-14958 · ADVISORY
- https://github.com/advisories/GHSA-4c7m-vv47-7c69 · ADVISORY
History
- 25 Nov 2026 20:31 UTC · NVD: first stored (published 21 Jun 2020)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 18 May 2021)