{"schema_version":"1.7.5","id":"CVE-2021-22141","published":"2022-11-18T23:15:11.553Z","modified":"2026-07-08T23:57:26.442512Z","related":["SUSE-SU-2021:3729-1","SUSE-SU-2022:1654-1"],"details":"An open redirect flaw was found in Kibana versions before 7.13.0 and 6.8.16. If a logged in user visits a maliciously crafted URL, it could result in Kibana redirecting the user to an arbitrary website.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/elastic/elasticsearch","events":[{"introduced":"0"},{"fixed":"1f62092a874cdc73ae87e6f8361ae2b6dc4a87f3"},{"introduced":"b7e28a7232616c7a21bc879a535d801b8553ba77"},{"fixed":"5ca8591c6fcdb1260ce95b08a8e023559635c6f3"}],"database_specific":{"cpe":"cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"6.8.16"},{"introduced":"7.0.0"},{"fixed":"7.13.0"}],"source":"CPE_RANGE"}}],"versions":["v6.8.15","v6.8.14","v6.8.13","v6.8.12","v6.8.11","v6.8.10","v6.8.9","v6.8.8","v6.8.7","v6.8.6","v6.8.5","v6.8.4","v6.8.3","v6.8.2","v6.8.1","v6.8.0","v6.7.2","v6.7.1","v6.7.0","v7.0.0-alpha2","v7.0.0-alpha1","v6.0.0-alpha2","v6.0.0-alpha1","v1.0.0.RC1","v1.0.0.Beta2","v1.0.0.Beta1","v0.90.0","v0.90.0.RC2","v0.90.0.RC1","v0.90.0.Beta1","v0.20.0.RC1","v0.19.0","v0.19.0.RC3","v0.19.0.RC2","v0.19.0.RC1","v0.18.0","v0.17.0","v0.16.0","v0.15.0","v0.14.0","v0.13.0","v0.12.0","v0.11.0","v0.10.0","v0.9.0","v0.8.0","v0.7.1","v0.7.0","v0.6.0","v0.5.1","v0.5.0","v0.4.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22141.json","vanir_signatures":[{"deprecated":false,"digest":{"function_hash":"227216430068460033235308427492323478400","length":2935},"id":"CVE-2021-22141-380249c2","signature_type":"Function","signature_version":"v1","source":"https://github.com/elastic/elasticsearch/commit/5ca8591c6fcdb1260ce95b08a8e023559635c6f3","target":{"file":"x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/IndicesAndAliasesResolver.java","function":"resolveIndicesAndAliases"}},{"deprecated":false,"digest":{"line_hashes":["55539977706972764223998020109119724887","108866741272134427931983020897151238150","329827430092600655194924251720352038283","85338178055917574359418118532690349453","313565538655456924766280144088592985868","115626852840808190571223943133786180257","194588236440361431816945964874334377311"],"threshold":0.9},"id":"CVE-2021-22141-38eb1b31","signature_type":"Line","signature_version":"v1","source":"https://github.com/elastic/elasticsearch/commit/5ca8591c6fcdb1260ce95b08a8e023559635c6f3","target":{"file":"server/src/main/java/org/elasticsearch/action/admin/indices/alias/get/TransportGetAliasesAction.java"}},{"deprecated":false,"digest":{"function_hash":"268543545218217461850131332688807170407","length":491},"id":"CVE-2021-22141-68f925ba","signature_type":"Function","signature_version":"v1","source":"https://github.com/elastic/elasticsearch/commit/5ca8591c6fcdb1260ce95b08a8e023559635c6f3","target":{"file":"server/src/main/java/org/elasticsearch/action/admin/indices/alias/get/TransportGetAliasesAction.java","function":"masterOperation"}},{"deprecated":false,"digest":{"line_hashes":["74928895544089740689162400432413003952","97561339387465302885684987238720635614","44533704551911896204620084930598125429","275049118129502138480443430981388358541"],"threshold":0.9},"id":"CVE-2021-22141-71f9dbb1","signature_type":"Line","signature_version":"v1","source":"https://github.com/elastic/elasticsearch/commit/5ca8591c6fcdb1260ce95b08a8e023559635c6f3","target":{"file":"x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/IndicesAndAliasesResolver.java"}},{"deprecated":false,"digest":{"function_hash":"247112587562710771113135290605449782032","length":1102},"id":"CVE-2021-22141-7d559983","signature_type":"Function","signature_version":"v1","source":"https://github.com/elastic/elasticsearch/commit/5ca8591c6fcdb1260ce95b08a8e023559635c6f3","target":{"file":"server/src/main/java/org/elasticsearch/cluster/metadata/IndexAbstractionResolver.java","function":"isIndexVisible"}},{"deprecated":false,"digest":{"function_hash":"273230870683369765253352467588015177127","length":1373},"id":"CVE-2021-22141-b1a8ffe7","signature_type":"Function","signature_version":"v1","source":"https://github.com/elastic/elasticsearch/commit/5ca8591c6fcdb1260ce95b08a8e023559635c6f3","target":{"file":"server/src/main/java/org/elasticsearch/cluster/metadata/IndexAbstractionResolver.java","function":"resolveIndexAbstractions"}},{"deprecated":false,"digest":{"function_hash":"102021398784448359171462391403856401347","length":158},"id":"CVE-2021-22141-b9073a4d","signature_type":"Function","signature_version":"v1","source":"https://github.com/elastic/elasticsearch/commit/5ca8591c6fcdb1260ce95b08a8e023559635c6f3","target":{"file":"server/src/main/java/org/elasticsearch/cluster/metadata/IndexAbstractionResolver.java","function":"isIndexVisible"}},{"deprecated":false,"digest":{"line_hashes":["315583905025711201338257251550976430652","162055396232869671782478615264078473955","60127143269222727131888252790882248346","117465318921854459789400838715394032978","170756754679239683118032533315915259355","134906571956213828407197490727364771243","109669367423997211060033604053313673331","40676066967639263533994094079349730991","156226404375316730968696291449751363272","98841195464491134889173032696595615713","181914096864269137743629192678985626619","151564147691626552071742565259854921797","333686622301376325362460423106807652814","141362554469059029444557007985627274672","322716854967362460775656511697347633157","257445524494417861409133682691751834861","246965848769450748258097109991113816289","213510124587421860425982392086712920913","163386518199771855566380438249349316377","122344896278602812722681119217318308435","293555246667050077758058929476892999409","191227080001206068144340340779451891136","338221508279617582727204616913772286527","294985612753226738409344034344247054434","99428750193244029909347155815027104093","150912233749050384828794130147314119871","32450535925734433967500510116973595593","55007076679500927438590671160792156802"],"threshold":0.9},"id":"CVE-2021-22141-be2c9296","signature_type":"Line","signature_version":"v1","source":"https://github.com/elastic/elasticsearch/commit/5ca8591c6fcdb1260ce95b08a8e023559635c6f3","target":{"file":"server/src/main/java/org/elasticsearch/cluster/metadata/IndexAbstractionResolver.java"}}],"vanir_signatures_modified":"2026-07-08T23:57:26Z"}},{"ranges":[{"type":"GIT","repo":"https://github.com/elastic/kibana","events":[{"introduced":"0"},{"fixed":"2a6387559c5754976a6a9c94ef2d8e4b55f2617b"},{"introduced":"ee89fda8a17eff9c93f7400c102edf76cb4d7d8a"},{"fixed":"9863e88bd63ad546b9d36e6b0c0c55cb65dd9081"}],"database_specific":{"cpe":"cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"6.8.16"},{"introduced":"7.0.0"},{"fixed":"7.13.0"}],"source":"CPE_RANGE"}}],"versions":["v6.8.15","v6.8.14","v6.8.13","v6.8.12","v6.8.11","v6.8.10","v6.8.9","v6.8.8","v6.8.7","v6.8.6","v6.8.5","v6.8.4","v6.8.3","v6.8.2","v6.8.1","v6.8.0","v6.7.2","v6.7.1","v6.7.0","v7.0.0-alpha2","v7.0.0-alpha1","7.0-known-good","v6.0.0-alpha2","v6.0.0-alpha1","v5.0.0-alpha5","v4.2.0-beta1","v4.0.0-beta3","v4.0.0-beta2","v4.0.0-beta1.1","v4.0.0-beta1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22141.json"}}],"references":[{"type":"ADVISORY","url":"https://discuss.elastic.co/t/elastic-stack-7-13-0-and-6-8-16-security-update/273964"},{"type":"ADVISORY","url":"https://www.elastic.co/community/security/"}],"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}