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:
