Advisory

GO-2024-2497

Also known as: CVE-2024-23653, GHSA-wr6v-9f75-vh2g

Summary

Privilege escalation in github.com/moby/buildkit

Details

BuildKit provides APIs for running interactive containers based on built images. It was possible to use these APIs to ask BuildKit to run a container with elevated privileges. Normally, running such containers is only allowed if special security.insecure entitlement is enabled both by buildkitd configuration and allowed by the user initializing the build request.

Severity

Not rated by the source.

Dates

Published
2024-02-07 04:19 UTC
Modified
2026-02-04 03:48 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