Vulnerability · Published Jun 21, 2020 · Assigned by mitre
CVE-2020-14958
Medium 6.5
In plain English
A medium-severity security flaw in the gogs.io/gogs package (Go). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)0.9%top 39.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
In Gogs 0.11.91, MakeEmailPrimary in models/user_mail.go lacks a "not the owner of the email" check.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | gogs.io/gogs | 0.12.0 | GHSA-4c7m-vv47-7c69 |
| Go | gogs.io/gogs | 0.12.0 | GO-2022-0788 |
Affected products (as reported)
References
- https://github.com/gogs/gogs/commit/82ff0c5852f29daa5f95d965fd50665581e7ea3c x_refsource_MISC
- https://github.com/gogs/gogs/pull/5988 x_refsource_MISC