Security Misconfigurations in Open Source Kubernetes Manifests: An Empirical Study

Author:

Rahman Akond1ORCID,Shamim Shazibul Islam1ORCID,Bose Dibyendu Brinto2ORCID,Pandita Rahul3ORCID

Affiliation:

1. Auburn University, USA

2. Virginia Tech, USA

3. Github, USA

Abstract

Context: Kubernetes has emerged as the de-facto tool for automated container orchestration. Business and government organizations are increasingly adopting Kubernetes for automated software deployments. Kubernetes is being used to provision applications in a wide range of domains, such as time series forecasting, edge computing, and high-performance computing. Due to such a pervasive presence, Kubernetes-related security misconfigurations can cause large-scale security breaches. Thus, a systematic analysis of security misconfigurations in Kubernetes manifests, i.e., configuration files used for Kubernetes, can help practitioners secure their Kubernetes clusters. Objective: The goal of this paper is to help practitioners secure their Kubernetes clusters by identifying security misconfigurations that occur in Kubernetes manifests . Methodology: We conduct an empirical study with 2,039 Kubernetes manifests mined from 92 open-source software repositories to systematically characterize security misconfigurations in Kubernetes manifests. We also construct a static analysis tool called Security Linter for Kubernetes Manifests ( SLI-KUBE ) to quantify the frequency of the identified security misconfigurations. Results: In all, we identify 11 categories of security misconfigurations, such as absent resource limit, absent securityContext , and activation of hostIPC . Specifically, we identify 1,051 security misconfigurations in 2,039 manifests. We also observe the identified security misconfigurations affect entities that perform mesh-related load balancing, as well as provision pods and stateful applications. Furthermore, practitioners agreed to fix 60% of 10 misconfigurations reported by us. Conclusion: Our empirical study shows Kubernetes manifests to include security misconfigurations, which necessitates security-focused code reviews and application of static analysis when Kubernetes manifests are developed.

Funder

U.S. National Science Foundation

U.S. National Security Agency

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference105 articles.

1. We don't need another hero?

2. Compilers, principles, techniques;Aho Alfred V.;Addison Wesley,1986

3. [CVE-2020–15257] Don’t use –net=host . Don’t use spec.hostNetwork.;Suda Akihiro;https://medium.com/nttlabs/dont-use-host-network-namespace-f548aeeef575,2020

4. akondrahman. 2022. akondrahman/sli-kube. Retrieved from https://hub.docker.com/repository/docker/akondrahman/sli-kube.

5. Ales Nosek. 2017. Accessing Kubernetes Pods from Outside of the Cluster. (January 2022). Retrieved January 18 2022 from https://alesnosek.com/blog/2017/02/14/accessing-kubernetes-pods-from-outside-of-the-cluster/.

Cited by 13 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. State Reconciliation Defects in Infrastructure as Code;Proceedings of the ACM on Software Engineering;2024-07-12

2. A Comparative Study on the Security of Kubernetes Deployments;2024 International Wireless Communications and Mobile Computing (IWCMC);2024-05-27

3. Does Generative AI Generate Smells Related to Container Orchestration?: An Exploratory Study with Kubernetes Manifests;Proceedings of the 21st International Conference on Mining Software Repositories;2024-04-15

4. Automated Security Repair for Helm Charts;Proceedings of the 2024 IEEE/ACM 46th International Conference on Software Engineering: Companion Proceedings;2024-04-14

5. In-Depth Analysis of Kubernetes Manifest Verification Tools for Robust CNF Deployment;2024 27th Conference on Innovation in Clouds, Internet and Networks (ICIN);2024-03-11

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3