A malicious BuildKit frontend or Dockerfile using RUN --mount could trick the feature that removes empty files created for the mountpoints into removing a file outside the container, from the host system.
{ "review_status": "REVIEWED", "url": "https://pkg.go.dev/vuln/GO-2024-2494" }