{"id":"GHSA-5v95-v8c8-3rh6","revision":"1b7d9aebbb0740118e44eea05b8bfbb9","records":[{"revision":"1b7d9aebbb0740118e44eea05b8bfbb9","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-5v95-v8c8-3rh6","aliases":["CVE-2021-22538","GO-2022-0798"],"title":"Privilege escalation in rbac","description":"### Impact\nUsing a carefully crafted request or malicious proxy, a user with `UserWrite` permissions could create another user with higher privileges than their own due to insufficient checks on the allowed set of permissions. The event would be captured in the Event Log.\n\n### Patches\nThe issue has been fixed in 0.24.0 and 0.23.1.\n\n### Workarounds\nFor users who are unable to upgrade, we recommend auditing users who have `UserWrite` permissions and regularly reviewing the Event Log for malicious activity.\n\n### Kudos\nThank you to Michael Mazzolini (Ethical Hacker at WHO) for finding and disclosing this vulnerability.","state":0,"publishedAt":"2021-05-21T14:32:55+00:00","modifiedAt":"2026-07-08T06:29:54.3773039+00:00","affected":[{"ecosystem":"Go","name":"github.com/google/exposure-notifications-verification-server","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.23.1"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/google/exposure-notifications-verification-server/security/advisories/GHSA-5v95-v8c8-3rh6","https://nvd.nist.gov/vuln/detail/CVE-2021-22538","https://github.com/google/exposure-notifications-verification-server/commit/eb8cf40b12dbe79304f1133c06fb73419383cd95","https://github.com/google/exposure-notifications-verification-server/releases/tag/v0.23.1","https://github.com/google/exposure-notifications-verification-server/releases/tag/v0.24.0"],"sourceUrl":"https://github.com/advisories/GHSA-5v95-v8c8-3rh6","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-5v95-v8c8-3rh6","identifiers":["GHSA-5v95-v8c8-3rh6","CVE-2021-22538","GO-2022-0798"]},"retained":false,"historicalAffected":[]}],"coverage":[]}