Advisory

GO-2024-2494

Also known as: CVE-2024-23652, GHSA-4v98-7qmw-rqr8

Summary

Host system modification in github.com/moby/buildkit

Details

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.

Severity

Not rated by the source.

Dates

Published
2024-02-12 18:45 UTC
Modified
2026-02-04 03:27 UTC

Affected packages and fixes

github.com/moby/buildkit

Go · All systems

Affected

  • introduced 0, fixed 0.12.5 (semver)

Fixed versions

0.12.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences