Path traversal in BuildKit - CVE-2024-23652
Published: February 2, 2024
Vulnerability details
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences within BuildKit frontend or Dockerfile using RUN --mount. A remote attacker can send a specially crafted HTTP request and read arbitrary files on the system.
Affected software
Gentoo Linux
Amazon Linux AMI
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Real Time 15
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Manager 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 Server 15 SP2 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise Server 15 SP4 LTSS
openSUSE Leap
Ubuntu
Anolis OS
watsonx.data
Podman
docker.io (Ubuntu package)
golang-github-docker-docker-dev (Ubuntu package)
buildkit-doc
buildkit
app-containers/buildah
buildah
app-containers/podman
docker
docker-debuginfo
docker-bash-completion
docker-fish-completion
docker-zsh-completion
docker-rootless-extras
app-containers/docker
IBM Concert Software
APEX Cloud Platform for Red Hat OpenShift
Dell Secure Connect Gateway
PowerStore X
PowerStore T
IBM Cloud Pak for Watson AIOps
How to mitigate CVE-2024-23652
watsonx.data - update to 2.0.2
Podman - update to 4.9.2
docker.io (Ubuntu package) - update to Ubuntu Pro
golang-github-docker-docker-dev (Ubuntu package) - update to Ubuntu Pro
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
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
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
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
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-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 - update to 25.0.3-1
app-containers/docker - update to 25.0.4
External References
Related Security Bulletins
- Multiple vulnerabilities in BuildKit
- libpod update for BuildKit
- SUSE update for docker
- SUSE update for docker
- Multiple vulnerabilities in IBM Cloud Pak for AIOps
- SUSE update for docker
- SUSE update for docker
- Multiple vulnerabilities in Dell Secure Connect Gateway
- Gentoo update for podman
- Gentoo update for Buildah
- Amazon Linux AMI update for docker
- SUSE update for docker
- SUSE update for docker
- Multiple vulnerabilities in IBM Concert Software
- Multiple vulnerabilities in IBM Concert
- SUSE update for buildah, docker
- Multiple vulnerabilities in IBM watsonx.data
- Gentoo update for Docker
- Multiple vulnerabilities in Dell PowerStore X
- Multiple vulnerabilities in Dell PowerStore T Family
- Anolis OS update for buildkit
- Ubuntu update for docker.io
- Multiple vulnerabilities in Dell APEX Cloud Platform for Red Hat OpenShift