Skip to content

Docker image contains critical CVEs from outdated Debian base image #1956

@ivanhorin

Description

@ivanhorin

Description:
When scanning the official mockserver/mockserver:5.15.0 Docker image, we discovered multiple Critical vulnerabilities in system libraries that come from the Debian 11.6 base image.

Details:

Base image: Debian 11.6 (from openjdk / temurin layer)

Scanner: Trivy

Detected CVEs:

Impact:
These vulnerabilities are not in MockServer’s Java code, but in the underlying OS packages included in the Docker image. This means downstream users inherit these CVEs when pulling the official image.

Suggested fix:

  • Update the Dockerfile to use a newer base image (e.g., Debian 11.7 or latest Temurin JRE with security patches).
  • Optionally consider using a smaller / maintained base (e.g., Alpine or Distroless).

Evidence:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions