CVE-2024-23653 | BuildKit interactive containers API does not validate entitlements check

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.

Published: 2024-01-31 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-23653 is rated High Risk (71.6/100): CVSS Critical severity, with high exploitation likelihood (EPSS 10.30%, 93th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-23653

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-01 10.55% 10.30% -0.25%
2 2026-04-21 10.30% 10.55% +0.25%
3 2026-02-18 10.30%

Full EPSS history (26 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-23653

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]

Weakness enumeration for CVE-2024-23653

GitHub Security Advisory for CVE-2024-23653

GHSA-wr6v-9f75-vh2g · Severity: critical · Ecosystem: go — Buildkit's interactive containers API does not validate entitlements check

OS Trackers for CVE-2024-23653

vendor priority summary link
alpine CVE-2024-23653: 4 source package rows (buildkit, docker, podman, singularity); 19 state rows across 5 repos (3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 19, open 0. https://security.alpinelinux.org/vuln/CVE-2024-23653
gentoo low CVE-2024-23653: 3 GLSA(s) (202407-12, 202407-25, 202409-29), 3 atom(s) (app-containers/buildah, app-containers/docker, app-containers/podman); latest impact low. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2024-23653
redhat high https://access.redhat.com/security/cve/CVE-2024-23653
suse high https://www.suse.com/security/cve/CVE-2024-23653/
ubuntu medium CVE-2024-23653 medium priority: Ubuntu including 2 source packages (docker.io, docker.io-app), 22 status rows across 11 suites (bionic, focal, jammy, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 7, released 5, needed 4, not-affected 4, DNE 2. https://ubuntu.com/security/CVE-2024-23653

Affected software / configurations for CVE-2024-23653

Vendor Product Version Raw CPE
mobyproject buildkit < 0.12.5 cpe:2.3:a:mobyproject:buildkit:*:*:*:*:*:*:*:*

References for CVE-2024-23653

cvelogic Threat Intelligence