CVE-2024-23653

BuildKit interactive containers API does not validate entitlements check

Published Jan 31, 2024 CVSS 3.1 · 9.8 Critical EPSS 4.1% KEV · Not listed
Description
BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. In addition to running containers as build steps, BuildKit also 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. The issue has been fixed in v0.12.5 . Avoid using BuildKit frontends from untrusted sources.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-0453 BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. In addition to running containers as build steps, BuildKit also 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. The issue has been fixed in v0.12.5 . Avoid using BuildKit frontends from untrusted sources.
Github GHSA Github GHSA GHSA-wr6v-9f75-vh2g Buildkit's interactive containers API does not validate entitlements check
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 23, 2024, 6:16 PM
Reserved
Jan 19, 2024, 12:18 AM
Status
Modified
Published
Jan 31, 2024, 10:15 PM
Modified
Jun 17, 2026, 7:13 AM
Severity
Important
Public date
Jan 31, 2024, 12:00 AM