Privilege Escalation Affecting github.com/google/exposure-notifications-verification-server/pkg/rbac package, versions <0.23.1
Snyk CVSS
Attack Complexity
Low
Threat Intelligence
EPSS
0.18% (55th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMGOOGLEEXPOSURENOTIFICATIONSVERIFICATIONSERVERPKGRBAC-1090179
- published 1 Apr 2021
- disclosed 1 Apr 2021
- credit Unknown
Introduced: 1 Apr 2021
CVE-2021-22538 Open this link in a new tabHow to fix?
Upgrade github.com/google/exposure-notifications-verification-server/pkg/rbac
to version 0.23.1 or higher.
Overview
github.com/google/exposure-notifications-verification-server/pkg/rbac is a Package rbac implements authorization.
Affected versions of this package are vulnerable to Privilege Escalation. A privilege escalation exists which allows an attacker who
- (1) has UserWrite permissions
- (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.