Advisory

GHSA-5v95-v8c8-3rh6

Also known as: CVE-2021-22538, GO-2022-0798

Summary

Privilege escalation in rbac

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-05-21 14:32 UTC
Modified
2026-07-08 06:29 UTC

Affected packages and fixes

github.com/google/exposure-notifications-verification-server

Go · All systems

Affected

  • introduced 0, fixed 0.23.1 (semver)

Fixed versions

0.23.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences