CVE-2024-23653
Detail
Modified After Enrichment
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
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.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
CVSS 4.0 Severity and Vector Strings:
NVD assessment
not yet provided.
CVSS 3.x Severity and Vector Strings:
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 Severity and Vector Strings:
Base
Score:
NVD assessment
not yet provided.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected].
Weakness Enumeration
| CWE-ID |
CWE Name |
Source |
|
CWE-863
|
Incorrect Authorization |
GitHub, Inc.
|
Change History
6 change records found show changes
CVE Modified by CISA-ADP
6/17/2026 3:13:18 AM
| Action |
Type |
Old Value |
New Value |
| Added |
Affected |
[{"vendor":"mobyproject","product":"buildkit","defaultStatus":"unknown","cpes":["cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:*"],"versions":[{"version":"0","lessThan":"0.12.5","versionType":"custom","status":"affected"}]}]
|
| Added |
SSVC |
{"timestamp":"2024-08-23T18:03:21.440665Z","id":"CVE-2024-23653","options":[{"exploitation":"none"},{"automatable":"yes"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}
|
CVE Modified by GitHub, Inc.
6/17/2026 3:13:18 AM
| Action |
Type |
Old Value |
New Value |
| Added |
Affected |
[{"vendor":"moby","product":"buildkit","versions":[{"version":"< 0.12.5","status":"affected"}]}]
|
CVE Modified by CVE
11/21/2024 3:58:05 AM
| Action |
Type |
Old Value |
New Value |
| Added |
Reference |
https://github.com/moby/buildkit/pull/4602
|
| Added |
Reference |
https://github.com/moby/buildkit/releases/tag/v0.12.5
|
| Added |
Reference |
https://github.com/moby/buildkit/security/advisories/GHSA-wr6v-9f75-vh2g
|
CVE Modified by GitHub, Inc.
5/14/2024 11:00:10 AM
| Action |
Type |
Old Value |
New Value |
Initial Analysis by NIST
2/08/2024 8:44:46 PM
| Action |
Type |
Old Value |
New Value |
| Added |
CVSS V3.1 |
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
| Added |
CPE Configuration |
OR
*cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:* versions up to (excluding) 0.12.5
|
| Changed |
Reference Type |
https://github.com/moby/buildkit/pull/4602 No Types Assigned
|
https://github.com/moby/buildkit/pull/4602 Patch, Vendor Advisory
|
| Changed |
Reference Type |
https://github.com/moby/buildkit/releases/tag/v0.12.5 No Types Assigned
|
https://github.com/moby/buildkit/releases/tag/v0.12.5 Patch, Release Notes
|
| Changed |
Reference Type |
https://github.com/moby/buildkit/security/advisories/GHSA-wr6v-9f75-vh2g No Types Assigned
|
https://github.com/moby/buildkit/security/advisories/GHSA-wr6v-9f75-vh2g Vendor Advisory
|
New CVE Received from GitHub, Inc.
1/31/2024 5:15:54 PM
| Action |
Type |
Old Value |
New Value |
| Added |
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.
|
| Added |
CVSS V3.1 |
GitHub, Inc. AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
|
| Added |
CWE |
GitHub, Inc. CWE-863
|
| Added |
Reference |
GitHub, Inc. https://github.com/moby/buildkit/pull/4602 [No types assigned]
|
| Added |
Reference |
GitHub, Inc. https://github.com/moby/buildkit/releases/tag/v0.12.5 [No types assigned]
|
| Added |
Reference |
GitHub, Inc. https://github.com/moby/buildkit/security/advisories/GHSA-wr6v-9f75-vh2g [No types assigned]
|
Quick Info
CVE Dictionary Entry: CVE-2024-23653 NVD
Published Date: 01/31/2024 NVD
Last Modified: 06/17/2026
Source: GitHub, Inc.
|