{"api_version":"1","generated_at":"2026-04-23T01:32:54+00:00","cve":"CVE-2021-20278","urls":{"html":"https://cve.report/CVE-2021-20278","api":"https://cve.report/api/cve/CVE-2021-20278.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-20278","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-20278"},"summary":{"title":"CVE-2021-20278","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2021-05-28 11:15:00","updated_at":"2022-08-05 15:20:00"},"problem_types":["CWE-287"],"metrics":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1937171","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1937171","refsource":"MISC","tags":[],"title":"1937171 – (CVE-2021-20278) CVE-2021-20278 kiali: authentication bypass when using the OpenID login strategy","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://kiali.io/news/security-bulletins/kiali-security-002/","name":"https://kiali.io/news/security-bulletins/kiali-security-002/","refsource":"MISC","tags":[],"title":"Kiali: Service mesh observability and configuration","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-20278","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-20278","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"20278","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"kiali","cpe5":"kiali","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-20278","qid":"982364","title":"Go (go) Security Update for github.com/kiali/kiali (GHSA-ggjr-2f7v-vhq4)"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2021-20278","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"n/a","product":{"product_data":[{"product_name":"kiali","version":{"version_data":[{"version_value":"kiali 1.31.0"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-290"}]}]},"references":{"reference_data":[{"refsource":"MISC","name":"https://bugzilla.redhat.com/show_bug.cgi?id=1937171","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1937171"},{"refsource":"MISC","name":"https://kiali.io/news/security-bulletins/kiali-security-002/","url":"https://kiali.io/news/security-bulletins/kiali-security-002/"}]},"description":{"description_data":[{"lang":"eng","value":"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."}]}},"nvd":{"publishedDate":"2021-05-28 11:15:00","lastModifiedDate":"2022-08-05 15:20:00","problem_types":["CWE-287"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":3.9,"impactScore":2.5},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":5.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:kiali:kiali:*:*:*:*:*:*:*:*","versionEndExcluding":"1.31.0","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"20278","Ordinal":"194319","Title":"CVE-2021-20278","CVE":"CVE-2021-20278","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"20278","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"20278","Ordinal":"2","NoteData":"2021-05-28","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"20278","Ordinal":"3","NoteData":"2021-05-28","Type":"Other","Title":"Modified"}]}}}