Vulnerability record · CVE-2024-23653 · published 31 January 2024
CVE-2024-23653: Mobyproject buildkit incorrect authorization vulnerability
Mobyproject · Buildkit
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.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://github.com/moby/buildkit/pull/4602 | PatchVendor Advisory |
| https://github.com/moby/buildkit/releases/tag/v0.12.5 | PatchRelease Notes |
| https://github.com/moby/buildkit/security/advisories/GHSA-wr6v-9f75-vh2g | Vendor Advisory |
| https://github.com/moby/buildkit/pull/4602 | PatchVendor Advisory |
| https://github.com/moby/buildkit/releases/tag/v0.12.5 | PatchRelease Notes |
| https://github.com/moby/buildkit/security/advisories/GHSA-wr6v-9f75-vh2g | Vendor Advisory |
Track CVE-2024-23653 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2024-23653), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.