CVE-2024-23653
CRITICAL EPSS 85.6%
Published Jan 31, 20242y ago · Modified Jun 17, 20262w ago
9.8 CVSS 3.1
Published Jan 31, 2024 2y ago
Last Modified Jun 17, 2026 2w ago
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 Details
Base Score
Exploitability
Impact
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High
Threat Intelligence
EPSS Exploit Probability
85.6% percentile
Exploit & Patch Status
No Known Exploit
Patch Available
Weaknesses 1
CWE-863 Incorrect Authorization Authorization
Affected Products 1
| Vendor | Product | Version | Range |
|---|---|---|---|
| mobyproject | buildkit | * | <0.12.5 |
References 3
- github.com https://github.com/moby/buildkit/pull/4602
- github.com https://github.com/moby/buildkit/releases/tag/v0.12.5
- github.com https://github.com/moby/buildkit/security/advisories/GHSA-wr6v-9f75-vh2g
Remediation
- github.com https://github.com/moby/buildkit/pull/4602
- github.com https://github.com/moby/buildkit/releases/tag/v0.12.5