{"id":"CVE-2021-22142","details":"Kibana contains an embedded version of the Chromium browser that the Reporting feature uses to generate the downloadable reports. If a user with permissions to generate reports is able to render arbitrary HTML with this browser, they may be able to leverage known Chromium vulnerabilities to conduct further attacks. Kibana contains a number of protections to prevent this browser from rendering arbitrary content.","modified":"2026-07-08T23:57:26.773532Z","published":"2023-11-22T01:15:07.210Z","references":[{"type":"ADVISORY","url":"https://discuss.elastic.co/t/elastic-stack-7-13-0-and-6-8-16-security-update/273964/1"},{"type":"ADVISORY","url":"https://www.elastic.co/community/security"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/elastic/elasticsearch","events":[{"introduced":"b7e28a7232616c7a21bc879a535d801b8553ba77"},{"fixed":"5ca8591c6fcdb1260ce95b08a8e023559635c6f3"}],"database_specific":{"cpe":"cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"7.0.0"},{"fixed":"7.13.0"}],"source":"CPE_RANGE"}}],"database_specific":{"vanir_signatures_modified":"2026-07-08T23:57:26Z","vanir_signatures":[{"id":"CVE-2021-22142-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":{"function_hash":"227216430068460033235308427492323478400","length":2935}},{"target":{"file":"server/src/main/java/org/elasticsearch/action/admin/indices/alias/get/TransportGetAliasesAction.java"},"deprecated":false,"digest":{"line_hashes":["55539977706972764223998020109119724887","108866741272134427931983020897151238150","329827430092600655194924251720352038283","85338178055917574359418118532690349453","313565538655456924766280144088592985868","115626852840808190571223943133786180257","194588236440361431816945964874334377311"],"threshold":0.9},"id":"CVE-2021-22142-38eb1b31","signature_type":"Line","signature_version":"v1","source":"https://github.com/elastic/elasticsearch/commit/5ca8591c6fcdb1260ce95b08a8e023559635c6f3"},{"id":"CVE-2021-22142-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":{"function_hash":"268543545218217461850131332688807170407","length":491}},{"target":{"file":"x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/authz/IndicesAndAliasesResolver.java"},"deprecated":false,"digest":{"line_hashes":["74928895544089740689162400432413003952","97561339387465302885684987238720635614","44533704551911896204620084930598125429","275049118129502138480443430981388358541"],"threshold":0.9},"id":"CVE-2021-22142-71f9dbb1","signature_type":"Line","signature_version":"v1","source":"https://github.com/elastic/elasticsearch/commit/5ca8591c6fcdb1260ce95b08a8e023559635c6f3"},{"deprecated":false,"digest":{"function_hash":"247112587562710771113135290605449782032","length":1102},"id":"CVE-2021-22142-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"}},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/elastic/elasticsearch/commit/5ca8591c6fcdb1260ce95b08a8e023559635c6f3","target":{"function":"resolveIndexAbstractions","file":"server/src/main/java/org/elasticsearch/cluster/metadata/IndexAbstractionResolver.java"},"deprecated":false,"digest":{"function_hash":"273230870683369765253352467588015177127","length":1373},"id":"CVE-2021-22142-b1a8ffe7"},{"deprecated":false,"digest":{"function_hash":"102021398784448359171462391403856401347","length":158},"id":"CVE-2021-22142-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"}},{"signature_version":"v1","source":"https://github.com/elastic/elasticsearch/commit/5ca8591c6fcdb1260ce95b08a8e023559635c6f3","target":{"file":"server/src/main/java/org/elasticsearch/cluster/metadata/IndexAbstractionResolver.java"},"deprecated":false,"digest":{"threshold":0.9,"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"]},"id":"CVE-2021-22142-be2c9296","signature_type":"Line"}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22142.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/elastic/kibana","events":[{"introduced":"ee89fda8a17eff9c93f7400c102edf76cb4d7d8a"},{"fixed":"9863e88bd63ad546b9d36e6b0c0c55cb65dd9081"}],"database_specific":{"cpe":"cpe:2.3:a:elastic:kibana:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"7.0.0"},{"fixed":"7.13.0"}],"source":"CPE_RANGE"}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-22142.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}