Skip to main navigation Skip to search Skip to main content

Deciphering Discrepancies: A Comparative Analysis of Docker Image Security

  • Brittany Boles
  • , Eric O’Donoghue
  • , Redempta Manzi Muneza
  • , Garrett Perkins
  • , Clemente Izurieta
  • , Ann Marie Reinhold

Research output: Contribution to conferencePaperpeer-review

Abstract

As the use of microservices continues to grow and become a foundational approach to architecting software solutions, ensuring the security of microservices is paramount. Docker images have emerged as the predominant solution to containerize microservices–and thus, Docker images are becoming a large attack surface. Thus, reducing vulnerabilities in Docker images will reduce microservice cyberattacks. A common way to find vulnerabilities in Docker images employs static analysis tools like Trivy and Grype. However, these tools frequently generate disparate vulnerability reports when analyzing the same Docker image, thus causing uncertainty in tool selection. We collected 927 Docker images, analyzed them with Trivy and Grype, and compared the vulnerabilities reported in each image. Among the 865 images found to have vulnerabilities, Trivy and Grype disagreed on both the number of vulnerabilities and the vulnerability IDs found therein. Since both tools interface with external vulnerability databases, some discrepancies can be attributed to how the tools interface with these external resources. The external vulnerability databases partially overlap and frequently contradict one another, thereby creating challenges for static analysis tool developers and end users alike. This New Ideas and Emerging Results (NIER) study contains new and critical information that practitioners need for selecting and using static analysis tools–given that increases in the use of Docker technologies means increases in the size of the attack surfaces.
Original languageAmerican English
StatePublished - Oct 7 2024
Event24th IEEE International Conference on Source Code Analysis and Manipulation - Flagstaff, United States
Duration: Oct 7 2024Oct 8 2024

Conference

Conference24th IEEE International Conference on Source Code Analysis and Manipulation
Abbreviated title(SCAM)
Country/TerritoryUnited States
CityFlagstaff
Period10/7/2410/8/24

INL Publication Number

  • NA

Fingerprint

Dive into the research topics of 'Deciphering Discrepancies: A Comparative Analysis of Docker Image Security'. Together they form a unique fingerprint.

Cite this