[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-693204-105":3,"detail-sidebar-cat-0-en-105":81,"doc-similar-693204":130,"doc-detail-693204-en":203},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","kubefence-security-hardening-of-the-kubernetes-attack-surface","KubeFence - Security Hardening of the Kubernetes Attack Surface","","Kubernetes (K8s) orchestrates containerized applications and exposes a wide API attack surface through its extensive, feature-rich interface. Even with role-based access control (RBAC), existing approaches lack fine-grained protection for specification attributes embedded in API requests. This paper introduces KubeFence, which performs targeted API filtering by analyzing Kubernetes Operators from trusted repositories and restricting unnecessary K8s API features, reducing exploits and misconfigurations.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/kubefence-security-hardening-of-the-kubernetes-attack-surface/693204/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/kubefence-security-hardening-of-the-kubernetes-attack-surface/693204.png","ImageObject",300,407,{"name":42,"@type":43},"WPS_1793603815","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-30","2026-11-09",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",5,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What security gap does this paper identify in Kubernetes RBAC?","Question",{"text":63,"@type":64},"RBAC controls access to resources as a whole, but it does not restrict specific features or fields inside the resource specifications sent in API requests.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does KubeFence reduce the Kubernetes attack surface?",{"text":68,"@type":64},"KubeFence analyzes Kubernetes Operators from trusted repositories and uses their configuration files to restrict unnecessary K8s API features, generating security policies tailored to client workloads.",{"name":70,"@type":61,"acceptedAnswer":71},"What results does the evaluation report compared to RBAC?",{"text":72,"@type":64},"KubeFence significantly reduces the attack surface and prevents tested attacks, achieving an average 35% reduction versus RBAC, with an average 50 ms overhead for cluster management operations.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},693204,1794251961,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,100,105,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":102,"show_sort_weight":103,"slug":104},6,"Technology",50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":112,"slug":113},8,30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":55,"slug":129},19,"General","general",{"list":131,"token":11},[132,140,147,154,161,168,175,182,189,196],{"doc_id":133,"doc_title":134,"file_type":135,"home_preview_img_url":136,"slug":137,"view_count":138,"category_name":29,"create_tm":139},234,"XNX Gas Detector Calibration Guide 2023","pdf","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727733/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796181599&Signature=mZy%2FbKexPCJEJccJHIKqwGx7TKo%3D","xnx-gas-detector-calibration-2023",7949,1776136863,{"doc_id":141,"doc_title":142,"file_type":135,"home_preview_img_url":143,"slug":144,"view_count":145,"category_name":29,"create_tm":146},227,"Sridevi Matka Chart Full Guide to Panel, Jodi & Pana Records","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693727553/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796181599&Signature=2LLsUEN3JTe4DW%2FTOBO2eKsytHc%3D","sridevi-matka-chart-full-guide-to-panel-jodi-pana-records",6968,1776136851,{"doc_id":148,"doc_title":149,"file_type":135,"home_preview_img_url":150,"slug":151,"view_count":152,"category_name":29,"create_tm":153},167314,"Linear Algebra and Its Applications 6th edition Textbook by david c. lay","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229876163444/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796181599&Signature=KoYtXIjv%2FYMAF5Lg%2B97mexeXJm0%3D","linear-algebra-and-its-applications-sixth-edition-david-c-lay-steven-r-lay-judi-j-mcdonald",5920,1788211707,{"doc_id":155,"doc_title":156,"file_type":135,"home_preview_img_url":157,"slug":158,"view_count":159,"category_name":29,"create_tm":160},32070,"Blueprint Pengelolaan Sumber Daya Manusia Kesehatan (SDMK) Tahun 2025–2029","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229758685683/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796181599&Signature=aUiAFthnZpajdK447re61y%2FewDo%3D","healthcare-human-resources-management-blueprint-sdmk-20252029",1294,1780779716,{"doc_id":162,"doc_title":163,"file_type":135,"home_preview_img_url":164,"slug":165,"view_count":166,"category_name":29,"create_tm":167},148514,"Developmental Biology - Twelfth Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229868853261/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796181599&Signature=n3P1BbA%2FTnbXpgmL4OWmDs4mvd4%3D","developmental-biology-twelfth-edition",1258,1787780705,{"doc_id":169,"doc_title":170,"file_type":135,"home_preview_img_url":171,"slug":172,"view_count":173,"category_name":29,"create_tm":174},121,"Letter of Intent Sample for School","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229693418846/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796181599&Signature=r4HnkaOnc6gKzAG5TsnKLvabrHk%3D","letter-of-intent-sample-for-school",1059,1776135210,{"doc_id":176,"doc_title":177,"file_type":135,"home_preview_img_url":178,"slug":179,"view_count":180,"category_name":29,"create_tm":181},129209,"Laboratory Manual for Principles of General Chemistry - J. A. Beran - 11th Edition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229840760175/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796181599&Signature=07Bn4J09KYf7byzN%2BmBtSx1HzIU%3D","laboratory-manual-for-principles-of-general-chemistry-j-a-beran-11th-edition",889,1786011673,{"doc_id":183,"doc_title":184,"file_type":135,"home_preview_img_url":185,"slug":186,"view_count":187,"category_name":29,"create_tm":188},117724,"The Trading Edge - Vivek Bajaj","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834707110/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796181599&Signature=HvR3TNcucaQBMsYNCj6%2BetDTgS0%3D","the-trading-edge-vivek-bajaj",883,1785678693,{"doc_id":190,"doc_title":191,"file_type":135,"home_preview_img_url":192,"slug":193,"view_count":194,"category_name":29,"create_tm":195},47709,"Stress, Appraisal, and Coping","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229799364477/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796181599&Signature=bcWXEh%2BfZ0kjld3ZltLx1p6HxgY%3D","stress-appraisal-and-coping",836,1783565401,{"doc_id":197,"doc_title":198,"file_type":135,"home_preview_img_url":199,"slug":200,"view_count":201,"category_name":29,"create_tm":202},23244,"The World Ahead 2026","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229716297903/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796181599&Signature=gnJGLCS43vNcqubXhbJdtmxtz70%3D","the-world-ahead-2026",670,1777643490,{"code":4,"msg":82,"data":204},{"doc_id":79,"user_id":205,"nickname":42,"user_avatar":206,"doc_module":4,"category_id":111,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":207,"file_id":208,"file_url":209,"file_type":135,"file_size":210,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":211,"language":212,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":213,"faqs":214,"seo_title":215,"seo_description":12,"update_tm":80,"read_time":216,"preview_page_count":26,"preview_urls":217},12232076219891,"https://eur-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","KubeFence: Security Hardening of the Kubernetes Attack Surface  \nCarmine Cesarano, Roberto Natella  \nUniversit degli Studi di Napoli Federico II, Italy {carmine.cesarano2, [roberto.natella](roberto.natella}@unina.it)[}](roberto.natella}@unina.it)[@unina.it](roberto.natella}@unina.it)  \narXiv :2504 . 11126v1 [ cs .CR] 15 Apr 2025  \nAbstract—Kubernetes (K8s) is widely used to orchestrate containerized applications, including critical services in domains such as finance, healthcare, and government. However, its extensive and feature-rich API interface exposes a broad attack surface, making K8s vulnerable to exploits of software vulnerabilities and misconfigurations. Even if K8s adopts role-based access control (RBAC) to manage access to K8s APIs, this approach lacks the granularity needed to protect specification attributes within API requests. This paper proposes a novel solution, KubeFence, which implements finer-grain API filtering tailored to specific client workloads. KubeFence analyzes Kubernetes Operators from trusted repositories and leverages their configuration files to restrict unnecessary features of the K8s API, to mitigate misconfigurationsand vulnerabilities exploitable through the K8s API. The experimental results show that KubeFence can significantly reduce the attack surface and prevent attacks compared to RBAC.  \nIndex Terms—K8s, Attack Surface, API Filtering  \nI. INTRODUCTION  \nKubernetes (K8s) [1] has become the mainstream platform for orchestrating containerized applications, enabling scalable deployment and management across distributed environments. Its adoption spans various critical domains, including finance, healthcare, and government services [2], [3], where security is crucial. As K8s becomes integral to these sensitive areas, ensuring the security of its components, particularly the K8s API, is of the highest importance.  \nK8s is a project with a huge codebase and a large, complex interface toward clients [4] . This interface provides convenience of use and feature-richness, but it also represents an “attack surface” that exposes the system to security attacks [5] . If these features are provided by vulnerable code, they can be exploited by malicious users to pursue attacks. In the case of K8s, attackers leverage vulnerabilities to run unauthorized workloads, such as cryptojacking and botnets [6]; moreover, attackers can violate the isolation between tenants in the infrastructures, such as disrupting applications and stealing or damaging their data [7] .  \nTo avoid such security risks, regulatory frameworks and security agencies are recommending the adoption of secure design practices [8]–[10] . In particular, software systems should adopt the “principle of least privilege”, by minimizing the attack surface to only provide access to the strict minimum of features and resources [11], [12] . In the case that a user behaves maliciously, they should be prevented from accessing unnecessary features that could be exploitable [7] .  \nIn practice, this approach is quite challenging to apply in complex systems such as K8s. K8s provides a REST API to manage resources, such as Pods, Services, Deployments, and several others. It adopts role-based access control (RBAC) [13] to manage API calls that access these resources. However, K8s  \nbuilds more complex abstractions on top of the REST API. When a resource is configured through the REST API, the API takes in input complex data structures (as YAML payload of a request) to describe the “desired state” of the resource (specification) . These data structures can contain attributes to use advanced features, such as access to resources on the host machine and other special permissions. These features represent a risky attack surface that can be exploited in the case of software vulnerabilities in K8s.  \nWe argue that RBAC does not suffice to secure K8s, since it only provides access control on resources as a whole, but lacks control over specific features in the spe","cbCaieIJhigpVU1P","https://ap.wps.com/l/cbCaieIJhigpVU1P",5835952,14,"English","# Abstract\n# Introduction\n## Kubernetes API as an attack surface\n## Limits of RBAC\n## Paper contributions and evaluation approach","[{\"question\":\"What security gap does this paper identify in Kubernetes RBAC?\",\"answer\":\"RBAC controls access to resources as a whole, but it does not restrict specific features or fields inside the resource specifications sent in API requests.\"},{\"question\":\"How does KubeFence reduce the Kubernetes attack surface?\",\"answer\":\"KubeFence analyzes Kubernetes Operators from trusted repositories and uses their configuration files to restrict unnecessary K8s API features, generating security policies tailored to client workloads.\"},{\"question\":\"What results does the evaluation report compared to RBAC?\",\"answer\":\"KubeFence significantly reduces the attack surface and prevents tested attacks, achieving an average 35% reduction versus RBAC, with an average 50 ms overhead for cluster management operations.\"}]","KubeFence - Security Hardening of the Kubernetes Attack Surface | PDF",35,[218,222],{"page_no":22,"url":219,"width":220,"height":221},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/189184cbd09de62f68865f930f6ec7e4.webp",983,1272,{"page_no":26,"url":223,"width":224,"height":225},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/27e569c78114d192fb721f654e52fe15.webp",982,1270]