{"id":"CVE-2021-22538","aliases":["GHSA-5v95-v8c8-3rh6","GO-2022-0798"],"url":"https://o3.security/vulnerability/CVE-2021-22538","summary":"Privilege escalation in rbac","details":"### 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.","published":"2021-03-31T21:15:16.057Z","modified":"2026-10-20T10:53:36.496829475Z","cvss":{"score":8.8,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.00718,"percentile":0.49614,"asOf":"2026-11-26"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/google/exposure-notifications-verification-server","fixedVersion":"0.23.1"}],"fix":{"url":"https://github.com/google/exposure-notifications-verification-server/commit/eb8cf40b12dbe79304f1133c06fb73419383cd95","label":"google/exposure-notifications-verification-server@eb8cf40"},"references":[{"type":"ADVISORY","url":"https://github.com/google/exposure-notifications-verification-server/releases/tag/v0.23.1"},{"type":"ADVISORY","url":"https://github.com/google/exposure-notifications-verification-server/releases/tag/v0.24.0"},{"type":"ADVISORY","url":"https://github.com/google/exposure-notifications-verification-server/security/advisories/GHSA-5v95-v8c8-3rh6"},{"type":"FIX","url":"https://github.com/google/exposure-notifications-verification-server/commit/eb8cf40b12dbe79304f1133c06fb73419383cd95"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22538"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-20T10:53:36.496829475Z"}}