{"id":"CVE-2020-14958","aliases":["CVE-2020-14958","GHSA-4c7m-vv47-7c69","GO-2022-0788"],"related":[],"kind":"vulnerability","state":"published","title":"Insecure Permissions in Gogs","summary":"In Gogs 0.11.91, MakeEmailPrimary in models/user_mail.go lacks a \"not the owner of the email\" check.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In Gogs 0.11.91, MakeEmailPrimary in models/user_mail.go lacks a \"not the owner of the email\" check.","source":"cvelist"},{"lang":"en","text":"Insecure Permissions in Gogs in gogs.io/gogs","format":"markdown","source":"go"},{"lang":"es","text":"En Gogs versión 0.11.91, la función MakeEmailPrimary en el archivo models/user_mail.go carece de una comprobación de \"not the owner of the email\"","source":"nvd"}],"published":"2020-06-21T19:57:21.000Z","modified":"2026-06-17T02:55:50.137Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:N/I:P/A:N","score":4,"rating":"MEDIUM"}],"cwes":["CWE-281"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.12.0"}],"ecosystem":"Go","package":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.12.0"}],"ecosystem":"Go","package":"gogs.io/gogs","purl":"pkg:golang/gogs.io/gogs","source":"go"},{"ranges":[{"status":"affected","version":"0.11.91"}],"vendor":"gogs","product":"gogs","cpe":"cpe:2.3:a:gogs:gogs:0.11.91:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/gogs/gogs/commit/82ff0c5852f29daa5f95d965fd50665581e7ea3c","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/gogs/gogs/pull/5988","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14958","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-4c7m-vv47-7c69","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-14958","url":"https://www.cve.org/CVERecord?id=CVE-2020-14958","licence":"CVE Terms of Use","modified":"2024-08-04T13:00:52.064Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4c7m-vv47-7c69","url":"https://github.com/advisories/GHSA-4c7m-vv47-7c69","licence":"CC-BY-4.0","modified":"2024-08-21T15:58:30.165Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-0788","url":"https://pkg.go.dev/vuln/GO-2022-0788","licence":"CC-BY-4.0","modified":"2026-03-03T04:50:53.141Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-14958","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-14958","licence":"Public domain","modified":"2026-06-17T02:55:50.137Z"}],"updatedAt":"2026-11-25T22:57:53.056Z","epss":{"score":0.0093,"percentile":0.61626,"date":"2026-12-01T12:00:22.000Z"}}