On the Relation between Outdated Docker Containers, Severity Vulnerabilities, and Bugs
- 1 February 2019
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 491-501
Abstract
Packaging software into containers is becoming a common practice when deploying services in cloud and other environments. Docker images are one of the most popular container technologies for building and deploying containers. A container image usually includes a collection of software packages, that can have bugs and security vulnerabilities that affect the container health. Our goal is to support container deployers by analysing the relation between outdated containers and vulnerable and buggy packages installed in them. We use the concept of technical lag of a container as the difference between a given container and the most up-to-date container that is possible with the most recent releases of the same collection of packages. For 7,380 official and community Docker images that are based on the Debian Linux distribution, we identify which software packages are installed in them and measure their technical lag in terms of version updates, security vulnerabilities and bugs. We have found, among others, that no release is devoid of vulnerabilities, so deployers cannot avoid vulnerabilities even if they deploy the most recent packages. We offer some lessons learned for container developers in regard to the strategies they can follow to minimize the number of vulnerabilities. We argue that Docker container scan and security management tools should improve their platforms by adding data about other kinds of bugs and include the measurement of technical lag to offer deployers information of when to update.Keywords
All Related Versions
This publication has 15 references indexed in Scilit:
- Do developers update their library dependencies?Empirical Software Engineering, 2017
- An Empirical Analysis of the Docker Container Ecosystem on GitHub2017
- A Study of Security Vulnerabilities on Docker Hub2017
- Measuring Dependency Freshness in Software Systems2015
- An introduction to Docker for reproducible researchACM SIGOPS Operating Systems Review, 2015
- Containers and Cloud: From LXC to Docker to KubernetesIEEE Cloud Computing, 2014
- Source code survival with the Kaplan Meier2011
- Survival analysis on the duration of open source projectsInformation and Software Technology, 2010
- Understanding survival analysis: Kaplan-Meier estimateInternational Journal of Ayurveda Research, 2010
- Macro-level software evolution: a case study of a large software compilationEmpirical Software Engineering, 2008