CVE-2021-20278:
Kiali Authentication Bypass vulnerability
6.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.3788%
CWE
Published
6/1/2021
Updated
1/30/2023
KEV Status
No
Technology
Go
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
github.com/kiali/kiali | go | < 1.31.0 | 1.31.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing token validation in OpenID implicit flow when RBAC is disabled. The patch modifies performOpenIdAuthentication
to add validation logic specifically when conf.Auth.OpenId.DisableRBAC
is true. The function's original code path (before patch) would skip both Kubernetes-based RBAC checks AND the new in-house validation when RBAC was disabled, making it the direct point of vulnerability. The function signature is derived from the file path hierarchy and Go package structure conventions.