logo

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

Package

Manager: go
Name: github.com/google/exposure-notifications-verification-server
Vulnerable Version: >=0 <0.23.1

Severity

Level: High

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

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00237 pctl0.46751

Details

Privilege escalation in rbac ### Impact Using 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. ### Patches The issue has been fixed in 0.24.0 and 0.23.1. ### Workarounds For users who are unable to upgrade, we recommend auditing users who have `UserWrite` permissions and regularly reviewing the Event Log for malicious activity. ### Kudos Thank you to Michael Mazzolini (Ethical Hacker at WHO) for finding and disclosing this vulnerability.

Metadata

Created: 2021-05-21T14:32:55Z
Modified: 2021-05-20T22:26:21Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/05/GHSA-5v95-v8c8-3rh6/GHSA-5v95-v8c8-3rh6.json
CWE IDs: ["CWE-276"]
Alternative ID: GHSA-5v95-v8c8-3rh6
Finding: F159
Auto approve: 1