CVE-2021-22538: Privilege escalation in RBAC system
Vulnerability summary
CVE-2021-22538 is a high (CVSS 8.8) Improper Input Validation vulnerability in google llc exposure notifications verification server. EPSS estimates a 0.72% chance of exploitation in the next 30 days, higher than 55.2% of scored vulnerabilities.
Not severe (CVSS 6.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 31-03-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versions- CVE.orgCNA6.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LDiffers
- OSV · GoEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.72%
Chance of exploitation in the next 30 days
Percentile
55%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.72% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-20Improper Input ValidationThe product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.
- CWE-276Incorrect Default PermissionsDuring installation, installed file permissions are set to allow anyone to modify those files.
Affected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Github.com/google1 product
- exposure-notifications-verification-server< 0.23.1
Google1 product
Google llc1 product
- exposure notifications verification server≥ stable, ≤ 0.23.0
3 vendors · 3 products
References
5 links- github.com/google/exposure-notifications-verification-server/security/advisories/GHSA-5v95-v8c8-3rh6X Refsource CONFIRMWEBAdvisoryThird Party Advisory
- github.com/google/exposure-notifications-verification-server/releases/tag/v0.23.1X Refsource CONFIRMWEBRelease NotesThird Party Advisory
- github.com/google/exposure-notifications-verification-server/releases/tag/v0.24.0X Refsource CONFIRMWEBRelease NotesThird Party Advisory