{"api_version":"1","generated_at":"2026-07-24T18:35:52+00:00","cve":"CVE-2021-22538","urls":{"html":"https://cve.report/CVE-2021-22538","api":"https://cve.report/api/cve/CVE-2021-22538.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-22538","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-22538"},"summary":{"title":"CVE-2021-22538","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.","state":"PUBLIC","assigner":"security@google.com","published_at":"2021-03-31 21:15:00","updated_at":"2021-04-06 14:11:00"},"problem_types":["CWE-276"],"metrics":[],"references":[{"url":"https://github.com/google/exposure-notifications-verification-server/releases/tag/v0.24.0","name":"https://github.com/google/exposure-notifications-verification-server/releases/tag/v0.24.0","refsource":"CONFIRM","tags":[],"title":"Release v0.24.0 · google/exposure-notifications-verification-server · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/google/exposure-notifications-verification-server/security/advisories/GHSA-5v95-v8c8-3rh6","name":"https://github.com/google/exposure-notifications-verification-server/security/advisories/GHSA-5v95-v8c8-3rh6","refsource":"CONFIRM","tags":[],"title":"Privilege escalation in rbac · Advisory · google/exposure-notifications-verification-server · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/google/exposure-notifications-verification-server/releases/tag/v0.23.1","name":"https://github.com/google/exposure-notifications-verification-server/releases/tag/v0.23.1","refsource":"CONFIRM","tags":[],"title":"Release v0.23.1 · google/exposure-notifications-verification-server · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/google/exposure-notifications-verification-server/commit/eb8cf40b12dbe79304f1133c06fb73419383cd95","name":"https://github.com/google/exposure-notifications-verification-server/commit/eb8cf40b12dbe79304f1133c06fb73419383cd95","refsource":"CONFIRM","tags":[],"title":"Merge pull request from GHSA-5v95-v8c8-3rh6 · google/exposure-notifications-verification-server@eb8cf40 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-22538","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-22538","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[{"source":"LEGACY","value":"Michael Mazzolini (Ethical Hacker at WHO)","lang":""}],"nvd_cpes":[{"cve_year":"2021","cve_id":"22538","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"google","cpe5":"exposure_notifications_verification_server","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-22538","qid":"982434","title":"Go (go) Security Update for github.com/google/exposure-notifications-verification-server (GHSA-5v95-v8c8-3rh6)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security@google.com","ID":"CVE-2021-22538","STATE":"PUBLIC","TITLE":"Privilege escalation in RBAC system"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Exposure Notifications Verification Server","version":{"version_data":[{"platform":"all","version_affected":"<=","version_name":"stable","version_value":"0.23.0"}]}}]},"vendor_name":"Google LLC"}]}},"credit":[{"lang":"eng","value":"Michael Mazzolini (Ethical Hacker at WHO)"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-20 Improper Input Validation"}]}]},"references":{"reference_data":[{"name":"https://github.com/google/exposure-notifications-verification-server/security/advisories/GHSA-5v95-v8c8-3rh6","refsource":"CONFIRM","url":"https://github.com/google/exposure-notifications-verification-server/security/advisories/GHSA-5v95-v8c8-3rh6"},{"name":"https://github.com/google/exposure-notifications-verification-server/commit/eb8cf40b12dbe79304f1133c06fb73419383cd95","refsource":"CONFIRM","url":"https://github.com/google/exposure-notifications-verification-server/commit/eb8cf40b12dbe79304f1133c06fb73419383cd95"},{"name":"https://github.com/google/exposure-notifications-verification-server/releases/tag/v0.23.1","refsource":"CONFIRM","url":"https://github.com/google/exposure-notifications-verification-server/releases/tag/v0.23.1"},{"name":"https://github.com/google/exposure-notifications-verification-server/releases/tag/v0.24.0","refsource":"CONFIRM","url":"https://github.com/google/exposure-notifications-verification-server/releases/tag/v0.24.0"}]},"source":{"discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2021-03-31 21:15:00","lastModifiedDate":"2021-04-06 14:11:00","problem_types":["CWE-276"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.5},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:google:exposure_notifications_verification_server:*:*:*:*:*:*:*:*","versionEndExcluding":"0.23.1","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"22538","Ordinal":"197243","Title":"CVE-2021-22538","CVE":"CVE-2021-22538","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"22538","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"22538","Ordinal":"2","NoteData":"2021-03-31","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"22538","Ordinal":"3","NoteData":"2021-03-31","Type":"Other","Title":"Modified"}]}}}