GO-2024-2494

Host system modification in github.com/moby/buildkit

At a glance

Published
Updated
CVE
CVE-2024-23652
Aliases
GHSA-4v98-7qmw-rqr8

Description

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.

Affected packages

PackageVersions
Go · github.com/moby/buildkitintroduced 0, fixed 0.12.5

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — Go Vulnerability Database