Incorrect authorization in BuildKit - CVE-2024-23653

 

Incorrect authorization in BuildKit - CVE-2024-23653

Published: February 2, 2024 / Updated: December 19, 2024


Vulnerability identifier: #VU86038
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-23653
CWE-ID: CWE-863
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to bypass authorization checks.

The vulnerability exists due to interactive containers API does not validate entitlements check. A remote attacker can use these APIs to ask BuildKit to run a container with elevated privileges.


Affected software

BuildKit
SUSE Linux Enterprise Server 12 SP5 LTSS Extended
Gentoo Linux
Amazon Linux AMI
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 12 SP5
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Manager Server
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Linux Enterprise Micro
SUSE Linux Enterprise Micro for Rancher
openSUSE Leap Micro
SUSE Enterprise Storage
Containers Module
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise Server 15 SP4 LTSS
openSUSE Leap
Anolis OS
watsonx.data
Podman
buildkit-doc
buildkit
app-containers/buildah
buildah
app-containers/podman
docker
docker-debuginfo
docker-fish-completion
docker-zsh-completion
docker-bash-completion
docker-rootless-extras
docker-stable-bash-completion
docker-stable-debuginfo
docker-stable
docker-stable-zsh-completion
docker-stable-rootless-extras
docker-stable-fish-completion
app-containers/docker
IBM Concert Software
APEX Cloud Platform for Red Hat OpenShift
Dell Secure Connect Gateway
SANnav
PowerStore X
PowerStore T
IBM Cloud Pak for Watson AIOps

How to mitigate CVE-2024-23653

Install updates from vendor's website.

BuildKit - update to 0.12.5
watsonx.data - update to 2.0.2
Podman - update to 4.9.2
buildkit-doc - update to 0.13.2-1
buildkit - update to 0.13.2-1
IBM Concert Software - update to 1.0.1
app-containers/buildah - update to 1.35.3
buildah - update to 1.35.4-150300.8.25.1
SANnav - addressed in versions 2.3.0a, 2.3.1
APEX Cloud Platform for Red Hat OpenShift - update to 03.01.02.00
PowerStore X - update to 3.2.1.4-2386214
PowerStore T - update to 4.0.0.2-2365061
IBM Cloud Pak for Watson AIOps - update to 4.4.1
app-containers/podman - update to 4.9.4
Dell Secure Connect Gateway - update to 5.24.00.14
docker - addressed in versions 24.0.7_ce-98.106.1, 24.0.7_ce-150000.193.1, 25.0.5_ce-98.112.1, 25.0.6_ce-150000.203.1, 25.0.6_ce-150000.207.1, 27.5.1_ce-98.126.1
docker-debuginfo - addressed in versions 24.0.7_ce-98.106.1, 24.0.7_ce-150000.193.1, 25.0.5_ce-98.112.1, 25.0.6_ce-150000.203.1, 25.0.6_ce-150000.207.1, 27.5.1_ce-98.126.1
docker-fish-completion - addressed in versions 24.0.7_ce-150000.193.1, 25.0.6_ce-150000.203.1, 25.0.6_ce-150000.207.1
docker-zsh-completion - addressed in versions 24.0.7_ce-150000.193.1, 25.0.6_ce-150000.203.1, 25.0.6_ce-150000.207.1
docker-bash-completion - addressed in versions 24.0.7_ce-150000.193.1, 25.0.6_ce-150000.203.1, 25.0.6_ce-150000.207.1, 27.5.1_ce-98.126.1
docker-rootless-extras - addressed in versions 24.0.7_ce-150000.193.1, 25.0.6_ce-150000.203.1, 25.0.6_ce-150000.207.1
docker-stable-bash-completion - addressed in versions 24.0.9_ce-1.11.1, 24.0.9_ce-150000.1.8.1, 24.0.9_ce-150000.1.11.1
docker-stable-debuginfo - addressed in versions 24.0.9_ce-1.11.1, 24.0.9_ce-150000.1.8.1, 24.0.9_ce-150000.1.11.1
docker-stable - addressed in versions 24.0.9_ce-1.11.1, 24.0.9_ce-150000.1.8.1, 24.0.9_ce-150000.1.11.1
docker-stable-zsh-completion - addressed in versions 24.0.9_ce-150000.1.8.1, 24.0.9_ce-150000.1.11.1
docker-stable-rootless-extras - addressed in versions 24.0.9_ce-150000.1.8.1, 24.0.9_ce-150000.1.11.1
docker-stable-fish-completion - addressed in versions 24.0.9_ce-150000.1.8.1, 24.0.9_ce-150000.1.11.1
docker - update to 25.0.3-1
app-containers/docker - update to 25.0.4

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins