{"id":7067,"date":"2022-01-26T17:16:55","date_gmt":"2022-01-26T16:16:55","guid":{"rendered":"https:\/\/geko.cloud\/?p=7067"},"modified":"2022-03-17T10:54:04","modified_gmt":"2022-03-17T09:54:04","slug":"security-incident-with-kubernetes-container-escape","status":"publish","type":"post","link":"https:\/\/geko.cloud\/en\/security-incident-with-kubernetes-container-escape\/","title":{"rendered":"Security incident with a kubernetes container escape kernel bug"},"content":{"rendered":"<p>A high-risk <strong>container escape vulnerability<\/strong> has surfaced in the <span style=\"font-weight: 400;\">related to Kubernetes pods which <strong>allows a user with a shell to get all kernel capabilities inside the container<\/strong> and potentially use it to <strong>escape the container into the host<\/strong><b>.\u00a0<\/b>This vulnerability (CVE <strong>CVE-2022-0185<\/strong>) is, to our knowledge, <strong>not being exploited in the wild<\/strong> as of January 26th 2022, however the group that discovered it will provide more information about it the coming week, which will <strong>start to surface proofs of concept<\/strong> and begin representing a threat. Major linux distributions have started distributing <strong>kernel patches<\/strong> which solve this issue.<\/span><\/p>\n<h3><b>Reach<\/b><\/h3>\n<p><span style=\"font-weight: 400;\">This vulnerability is exploitable <strong>from a linux shell session on a Kubernetes container<\/strong>. It is not a first step in an exploit chain, but it makes privilege <strong>escalation to having all kernel capabilities trivial<\/strong>, which means it can bring a higher risk in systems exposed to the internet with vulnerable software (like a popular CMS or CRM) by enabling a longer, more dangerous exploit chain. <\/span><span style=\"font-weight: 400;\"><b>all kernel versions since 5.1-rc1 are affected <\/b>through the latest patches (5.4.173, 5.10.93, 5.15.1), however major distributions are already distributing patches on their kernels.<\/span><\/p>\n<h3><b>Indicators of Compromise<\/b><\/h3>\n<p><strong>No clear indicators of compromise<\/strong> are known as of yet, but a possible check is to <strong>look for what kernel capabilities processes have<\/strong>, and see if any unusual process has an unusual amount of kernel capabilities.<\/p>\n<h3><b>Patches and mitigations<\/b><\/h3>\n<p><strong>Kernel patches are being released<\/strong> by major linux distributions to mitigate this issue and should be applied as soon as possible. If a debian-based distribution does not have an available patch yet, this vulnerability <strong>can be mitigated by disabling unprivileged kernel namespaces<\/strong>:<\/p>\n<pre><code>sysctl -w kernel.unprivileged_userns_clone=0<\/code><\/pre>\n<p>This way only privileged pods and containers will be able to escalate their kernel capabilities (Which is as per design for the privilege level specified).<\/p>\n<h3><b>Sources<\/b><\/h3>\n<p><a href=\"https:\/\/www.bleepingcomputer.com\/news\/security\/linux-kernel-bug-can-let-hackers-escape-kubernetes-containers\/\">https:\/\/www.bleepingcomputer.com\/news\/security\/linux-kernel-bug-can-let-hackers-escape-kubernetes-containers\/<\/a><\/p>\n<p><a href=\"https:\/\/sysdig.com\/blog\/cve-2022-0185-container-escape\/\">https:\/\/sysdig.com\/blog\/cve-2022-0185-container-escape\/<\/a><\/p>\n<p><a href=\"https:\/\/cve.mitre.org\/cgi-bin\/cvename.cgi?name=CVE-2022-0185\">https:\/\/cve.mitre.org\/cgi-bin\/cvename.cgi?name=CVE-2022-0185<\/a><\/p>\n<p>&nbsp;<\/p>\n<h2><strong>Geko Cloud<\/strong><\/h2>\n<p id=\"tw-target-text\" class=\"tw-data-text tw-text-large tw-ta\" dir=\"ltr\" data-placeholder=\"Traducci\u00f3n\"><span class=\"Y2IQFc\" lang=\"en\"><a href=\"https:\/\/geko.cloud\/es\/\" target=\"_blank\" rel=\"noopener\">Geko Cloud Consulting<\/a> we are up to date with any incident or vulnerability. If you want to have your data safe, you need us!<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A high-risk container escape vulnerability has surfaced in the related to Kubernetes pods which allows a user with a shell to get all kernel capabilities inside the container and potentially use it to escape the container into the host.\u00a0This vulnerability (CVE CVE-2022-0185) is, to our knowledge, not being exploited in the wild as of January [&hellip;]<\/p>\n","protected":false},"author":38,"featured_media":6617,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[126],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Security incident with a kubernetes container escape kernel bug - Geko Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Security incident with a kubernetes container escape kernel bug - Geko Cloud\" \/>\n<meta property=\"og:description\" content=\"A high-risk container escape vulnerability has surfaced in the related to Kubernetes pods which allows a user with a shell to get all kernel capabilities inside the container and potentially use it to escape the container into the host.\u00a0This vulnerability (CVE CVE-2022-0185) is, to our knowledge, not being exploited in the wild as of January [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/\" \/>\n<meta property=\"og:site_name\" content=\"Geko Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-26T16:16:55+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-03-17T09:54:04+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/geko.cloud\/wp-content\/uploads\/2021\/12\/bbddd-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2830\" \/>\n\t<meta property=\"og:image:height\" content=\"1416\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Geko Cloud\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@geko_cloud\" \/>\n<meta name=\"twitter:site\" content=\"@geko_cloud\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/\"},\"author\":{\"name\":\"Geko Cloud\",\"@id\":\"https:\/\/geko.cloud\/es\/#\/schema\/person\/c87e3587fb419825d72ac2043e798ab6\"},\"headline\":\"Security incident with a kubernetes container escape kernel bug\",\"datePublished\":\"2022-01-26T16:16:55+00:00\",\"dateModified\":\"2022-03-17T09:54:04+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/\"},\"wordCount\":355,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/geko.cloud\/es\/#organization\"},\"image\":{\"@id\":\"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/geko.cloud\/wp-content\/uploads\/2021\/12\/bbddd-1.png\",\"articleSection\":[\"Incidents\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/\",\"url\":\"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/\",\"name\":\"Security incident with a kubernetes container escape kernel bug - Geko Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/geko.cloud\/es\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/geko.cloud\/wp-content\/uploads\/2021\/12\/bbddd-1.png\",\"datePublished\":\"2022-01-26T16:16:55+00:00\",\"dateModified\":\"2022-03-17T09:54:04+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/#primaryimage\",\"url\":\"https:\/\/geko.cloud\/wp-content\/uploads\/2021\/12\/bbddd-1.png\",\"contentUrl\":\"https:\/\/geko.cloud\/wp-content\/uploads\/2021\/12\/bbddd-1.png\",\"width\":2830,\"height\":1416,\"caption\":\"incidencias\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/geko.cloud\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Security incident with a kubernetes container escape kernel bug\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/geko.cloud\/es\/#website\",\"url\":\"https:\/\/geko.cloud\/es\/\",\"name\":\"Geko Cloud\",\"description\":\"Servicios de consultor\u00eda cloud y devops\",\"publisher\":{\"@id\":\"https:\/\/geko.cloud\/es\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/geko.cloud\/es\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/geko.cloud\/es\/#organization\",\"name\":\"Geko Cloud\",\"url\":\"https:\/\/geko.cloud\/es\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/geko.cloud\/es\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/geko.cloud\/wp-content\/uploads\/2021\/10\/geko_logo-positivo.png\",\"contentUrl\":\"https:\/\/geko.cloud\/wp-content\/uploads\/2021\/10\/geko_logo-positivo.png\",\"width\":1650,\"height\":809,\"caption\":\"Geko Cloud\"},\"image\":{\"@id\":\"https:\/\/geko.cloud\/es\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/geko_cloud\",\"https:\/\/www.instagram.com\/gekocloud\/\",\"https:\/\/www.linkedin.com\/company\/gekocloud\",\"https:\/\/www.youtube.com\/channel\/UC5EFLCqUM7fEaXSa_0nWowQ\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/geko.cloud\/es\/#\/schema\/person\/c87e3587fb419825d72ac2043e798ab6\",\"name\":\"Geko Cloud\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/geko.cloud\/es\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10fe5eb7a547a27afabbe3a5a0f60c96?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10fe5eb7a547a27afabbe3a5a0f60c96?s=96&d=mm&r=g\",\"caption\":\"Geko Cloud\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Security incident with a kubernetes container escape kernel bug - Geko Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/","og_locale":"en_US","og_type":"article","og_title":"Security incident with a kubernetes container escape kernel bug - Geko Cloud","og_description":"A high-risk container escape vulnerability has surfaced in the related to Kubernetes pods which allows a user with a shell to get all kernel capabilities inside the container and potentially use it to escape the container into the host.\u00a0This vulnerability (CVE CVE-2022-0185) is, to our knowledge, not being exploited in the wild as of January [&hellip;]","og_url":"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/","og_site_name":"Geko Cloud","article_published_time":"2022-01-26T16:16:55+00:00","article_modified_time":"2022-03-17T09:54:04+00:00","og_image":[{"width":2830,"height":1416,"url":"https:\/\/geko.cloud\/wp-content\/uploads\/2021\/12\/bbddd-1.png","type":"image\/png"}],"author":"Geko Cloud","twitter_card":"summary_large_image","twitter_creator":"@geko_cloud","twitter_site":"@geko_cloud","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/#article","isPartOf":{"@id":"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/"},"author":{"name":"Geko Cloud","@id":"https:\/\/geko.cloud\/es\/#\/schema\/person\/c87e3587fb419825d72ac2043e798ab6"},"headline":"Security incident with a kubernetes container escape kernel bug","datePublished":"2022-01-26T16:16:55+00:00","dateModified":"2022-03-17T09:54:04+00:00","mainEntityOfPage":{"@id":"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/"},"wordCount":355,"commentCount":0,"publisher":{"@id":"https:\/\/geko.cloud\/es\/#organization"},"image":{"@id":"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/#primaryimage"},"thumbnailUrl":"https:\/\/geko.cloud\/wp-content\/uploads\/2021\/12\/bbddd-1.png","articleSection":["Incidents"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/","url":"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/","name":"Security incident with a kubernetes container escape kernel bug - Geko Cloud","isPartOf":{"@id":"https:\/\/geko.cloud\/es\/#website"},"primaryImageOfPage":{"@id":"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/#primaryimage"},"image":{"@id":"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/#primaryimage"},"thumbnailUrl":"https:\/\/geko.cloud\/wp-content\/uploads\/2021\/12\/bbddd-1.png","datePublished":"2022-01-26T16:16:55+00:00","dateModified":"2022-03-17T09:54:04+00:00","breadcrumb":{"@id":"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/#primaryimage","url":"https:\/\/geko.cloud\/wp-content\/uploads\/2021\/12\/bbddd-1.png","contentUrl":"https:\/\/geko.cloud\/wp-content\/uploads\/2021\/12\/bbddd-1.png","width":2830,"height":1416,"caption":"incidencias"},{"@type":"BreadcrumbList","@id":"https:\/\/geko.cloud\/es\/incidente-de-seguridad-sobre-escape-de-contenedores-en-kubernetes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/geko.cloud\/en\/"},{"@type":"ListItem","position":2,"name":"Security incident with a kubernetes container escape kernel bug"}]},{"@type":"WebSite","@id":"https:\/\/geko.cloud\/es\/#website","url":"https:\/\/geko.cloud\/es\/","name":"Geko Cloud","description":"Servicios de consultor\u00eda cloud y devops","publisher":{"@id":"https:\/\/geko.cloud\/es\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/geko.cloud\/es\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/geko.cloud\/es\/#organization","name":"Geko Cloud","url":"https:\/\/geko.cloud\/es\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/geko.cloud\/es\/#\/schema\/logo\/image\/","url":"https:\/\/geko.cloud\/wp-content\/uploads\/2021\/10\/geko_logo-positivo.png","contentUrl":"https:\/\/geko.cloud\/wp-content\/uploads\/2021\/10\/geko_logo-positivo.png","width":1650,"height":809,"caption":"Geko Cloud"},"image":{"@id":"https:\/\/geko.cloud\/es\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/geko_cloud","https:\/\/www.instagram.com\/gekocloud\/","https:\/\/www.linkedin.com\/company\/gekocloud","https:\/\/www.youtube.com\/channel\/UC5EFLCqUM7fEaXSa_0nWowQ"]},{"@type":"Person","@id":"https:\/\/geko.cloud\/es\/#\/schema\/person\/c87e3587fb419825d72ac2043e798ab6","name":"Geko Cloud","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/geko.cloud\/es\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10fe5eb7a547a27afabbe3a5a0f60c96?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10fe5eb7a547a27afabbe3a5a0f60c96?s=96&d=mm&r=g","caption":"Geko Cloud"}}]}},"_links":{"self":[{"href":"https:\/\/geko.cloud\/en\/wp-json\/wp\/v2\/posts\/7067"}],"collection":[{"href":"https:\/\/geko.cloud\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geko.cloud\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geko.cloud\/en\/wp-json\/wp\/v2\/users\/38"}],"replies":[{"embeddable":true,"href":"https:\/\/geko.cloud\/en\/wp-json\/wp\/v2\/comments?post=7067"}],"version-history":[{"count":4,"href":"https:\/\/geko.cloud\/en\/wp-json\/wp\/v2\/posts\/7067\/revisions"}],"predecessor-version":[{"id":7590,"href":"https:\/\/geko.cloud\/en\/wp-json\/wp\/v2\/posts\/7067\/revisions\/7590"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/geko.cloud\/en\/wp-json\/wp\/v2\/media\/6617"}],"wp:attachment":[{"href":"https:\/\/geko.cloud\/en\/wp-json\/wp\/v2\/media?parent=7067"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geko.cloud\/en\/wp-json\/wp\/v2\/categories?post=7067"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geko.cloud\/en\/wp-json\/wp\/v2\/tags?post=7067"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}