In Gogs 0.11.91, MakeEmailPrimary in models/user_mail.go lacks a "not the owner of the email" check.
The product does not preserve permissions or incorrectly preserves permissions when copying, restoring, or sharing objects, which can cause them to have less restrictive permissions than intended.
Link | Tags |
---|---|
https://github.com/gogs/gogs/commit/82ff0c5852f29daa5f95d965fd50665581e7ea3c | third party advisory patch |
https://github.com/gogs/gogs/pull/5988 | third party advisory patch |