CVE-2021-22538
HIGH 8.8CVSS 3.1Privilege escalation in rbac
A privilege escalation vulnerability impacting the Google Exposure Notification Verification Server (versions prior to 0.23.1), allows an attacker who (1) has UserWrite permissions and (2) is using a carefully crafted request or malicious proxy, to create another user with higher privileges than their own. This occurs due to insufficient checks on the allowed set of permissions. The new user creation event would be captured in the Event Log.
- Published
- 31 Mar 2021
- Last modified
- 8 Jul 2026
- Assigned by
- cve-coordination@google.com
- NVD status
- Modified
- Weakness
- CWE-20CWE-276
- Also known as
- GHSA-5v95-v8c8-3rh6GO-2022-0798
- Sources
- NVDJSONOSV GHSA-5v95-v8c8-3rh6JSONOSV GO-2022-0798JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | cve-coordination@google.com (Secondary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | exposure_notifications_verification_servercpe:2.3:a:google:exposure_notifications_verification_server:*:*:*:*:*:*:*:* |
< 0.23.1 | 0.23.1 | |
| OSV | Go | github.com/google/exposure-notifications-verification-server | < 0.23.1 | 0.23.1 |
References
- https://github.com/google/exposure-notifications-verification-server/commit/eb8cf40b12dbe79304f1133c06fb73419383cd95 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/google/exposure-notifications-verification-server/releases/tag/v0.23.1 · Release Notes, Third Party Advisory, WEB
- https://github.com/google/exposure-notifications-verification-server/releases/tag/v0.24.0 · Release Notes, Third Party Advisory, WEB
- https://github.com/google/exposure-notifications-verification-server/security/advisories/GHSA-5v95-v8c8-3rh6 · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-22538 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 31 Mar 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 May 2021)