Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/google/exposure-notifications-verification-server
  4. ›
  5. CVE-2021-22538

CVE-2021-22538: Incorrect Default Permissions

May 21, 2021

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.

References

  • github.com/advisories/GHSA-5v95-v8c8-3rh6
  • github.com/google/exposure-notifications-verification-server/commit/eb8cf40b12dbe79304f1133c06fb73419383cd95
  • github.com/google/exposure-notifications-verification-server/releases/tag/v0.23.1
  • github.com/google/exposure-notifications-verification-server/releases/tag/v0.24.0
  • github.com/google/exposure-notifications-verification-server/security/advisories/GHSA-5v95-v8c8-3rh6
  • nvd.nist.gov/vuln/detail/CVE-2021-22538

Code Behaviors & Features

Detect and mitigate CVE-2021-22538 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.23.0

Fixed versions

  • 0.23.1

Solution

Upgrade to version 0.23.1 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-276: Incorrect Default Permissions

Source file

go/github.com/google/exposure-notifications-verification-server/CVE-2021-22538.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:25 +0000.