CVE-2021-20278
JSON

6.5medium

Kiali Authentication Bypass vulnerability

Severity
6.5medium CVSS:3.1 by NVD
Exploit likelihood
0.76% (higher than 56% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-ggjr-2f7v-vhq4GO-2022-0700

Description

An authentication bypass vulnerability was found in Kiali in versions before 1.31.0 when the authentication strategy `OpenID` is used. When RBAC is enabled, Kiali assumes that some of the token validation is handled by the underlying cluster. When OpenID `implicit flow` is used with RBAC turned off, this token validation doesn't occur, and this allows a malicious user to bypass the authentication.

Affected

Product or packageVersionsReported by
kialikiali 1.31.0CVE List
github.com/kiali/kiali (Go)before 1.31.0GitHub Advisory Database, Go Vulnerability Database
kiali kialibefore 1.31.0NVD

All scores

GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
NVD5.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:N

Classification

What each source says

CVE List

An authentication bypass vulnerability was found in Kiali in versions before 1.31.0 when the authentication strategy `OpenID` is used. When RBAC is enabled, Kiali assumes that some of the token validation is handled by the underlying cluster. When OpenID `implicit flow` is used with RBAC turned off, this token validation doesn't occur, and this allows a malicious user to bypass the authentication.

Go Vulnerability Database

Kiali Authentication Bypass vulnerability in github.com/kiali/kiali

NVD (es)

Se encontró una vulnerabilidad de omisión de autenticación en Kiali en versiones anteriores a 1.31.0, cuando es usado la estrategia de autenticación "OpenID". Cuando RBAC está habilitado, Kiali asume que parte de la comprobación del token es manejada por el clúster subyacente. Cuando es usado el "implicit flow" de OpenID con el RBAC desactivado, esta comprobación del token no ocurre y esto permite a un usuario malicioso omitir la autenticación

References

Sources

SourceRecordLicence
CVE ListCVE-2021-20278 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-ggjr-2f7v-vhq4 changed 2024-08-21CC-BY-4.0
Go Vulnerability DatabaseGO-2022-0700 changed 2026-03-03CC-BY-4.0
NVDCVE-2021-20278 changed 2026-06-17Public domain