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 package | Versions | Reported by |
|---|---|---|
| kiali | kiali 1.31.0 | CVE List |
| github.com/kiali/kiali (Go) | before 1.31.0 | GitHub Advisory Database, Go Vulnerability Database |
| kiali kiali | before 1.31.0 | NVD |
All scores
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | 5.8medium CVSS:2.0 | AV: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
| https://bugzilla.redhat.com/show_bug.cgi?id=1937171 | issue-tracking, patch, third-party-advisory, web | |
| https://kiali.io/news/security-bulletins/kiali-security-002/ | vendor-advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-20278 | advisory | |
| https://kiali.io/news/security-bulletins/kiali-security-002 | web | |
| https://github.com/advisories/GHSA-ggjr-2f7v-vhq4 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-20278 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-ggjr-2f7v-vhq4 changed 2024-08-21 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2022-0700 changed 2026-03-03 | CC-BY-4.0 |
| NVD | CVE-2021-20278 changed 2026-06-17 | Public domain |