
CVE catalog
CVE-2024-23652
Docker vulnerabilities
- Severity
- Medium · CVSS 6.7
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.46% · Oct 25, 2026
BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. A malicious BuildKit frontend or Dockerfile using RUN --mount could trick the feature that removes empty files created for the mountpoints into removing a file outside the container, from the host system. The issue has been fixed in v0.12.5. Workarounds include avoiding using BuildKit frontends from an untrusted source or building an untrusted Dockerfile containing RUN --mount feature.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Ubuntu | docker.io | noble | 20.10.25+dfsg1-2ubuntu1+esm2 | fixed |
| Ubuntu | golang-github-docker-docker-dev | noble | 20.10.25+dfsg1-2ubuntu1+esm2 | fixed |
| Ubuntu | docker.io | pro | 20.10.24+dfsg1-1ubuntu2 | vulnerable |
| Ubuntu | docker.io | pro | 20.10.25+dfsg1-2ubuntu1 | vulnerable |
| Ubuntu | docker.io | pro | 20.10.25+dfsg1-2ubuntu1+esm1 | vulnerable |
| Ubuntu | docker.io | pro | 20.10.25+dfsg1-2ubuntu1+esm2 | fixed |
| Ubuntu | docker.io-app | pro | 20.10.25-0ubuntu1~20.04.1 | vulnerable |
| Ubuntu | docker.io-app | pro | 20.10.25-0ubuntu1~20.04.2 | vulnerable |
| Ubuntu | docker.io-app | pro | 24.0.5-0ubuntu1~20.04.1 | vulnerable |
| Ubuntu | docker.io-app | pro | 24.0.7-0ubuntu2~20.04.1 | vulnerable |
| Ubuntu | docker.io-app | pro | 26.1.3-0ubuntu1~20.04.1 | vulnerable |
| Ubuntu | docker.io-app | pro | 26.1.3-0ubuntu1~20.04.1+esm1 | fixed |
| Ubuntu | docker.io-app | 22.04 | 20.10.25-0ubuntu1~22.04.1 | vulnerable |
| Ubuntu | docker.io-app | 22.04 | 20.10.25-0ubuntu1~22.04.2 | vulnerable |
| Ubuntu | docker.io-app | 22.04 | 24.0.5-0ubuntu1~22.04.1 | vulnerable |
| Ubuntu | docker.io-app | 22.04 | 24.0.7-0ubuntu2~22.04.1 | vulnerable |
| Ubuntu | docker.io-app | 22.04 | 26.1.3-0ubuntu1~22.04.1 | vulnerable |
| Ubuntu | docker.io-app | 22.04 | 27.5.1-0ubuntu3~22.04.1 | vulnerable |
| Ubuntu | docker.io-app | 22.04 | 27.5.1-0ubuntu3~22.04.2 | fixed |
| Ubuntu | docker.io-app | 24.04 | 24.0.5-0ubuntu1 | vulnerable |
| Ubuntu | docker.io-app | 24.04 | 24.0.7-0ubuntu1 | vulnerable |
| Ubuntu | docker.io-app | 24.04 | 24.0.7-0ubuntu2 | vulnerable |
| Ubuntu | docker.io-app | 24.04 | 24.0.7-0ubuntu3 | vulnerable |
| Ubuntu | docker.io-app | 24.04 | 24.0.7-0ubuntu4 | vulnerable |
| Ubuntu | docker.io-app | 24.04 | 24.0.7-0ubuntu4.1 | vulnerable |
| Ubuntu | docker.io-app | 24.04 | 26.1.3-0ubuntu1~24.04.1 | vulnerable |
| Ubuntu | docker.io-app | 24.04 | 27.5.1-0ubuntu3~24.04.1 | vulnerable |
| Ubuntu | docker.io-app | 24.04 | 27.5.1-0ubuntu3~24.04.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Ubuntu | docker.io | deb | noble | 20.10.25+dfsg1-2ubuntu1+esm2 | Not reported | Not reported | Not reported |
| Ubuntu | golang-github-docker-docker-dev | deb | noble | 20.10.25+dfsg1-2ubuntu1+esm2 | Not reported | Not reported | Not reported |
| Ubuntu | docker.io | deb | pro | 20.10.25+dfsg1-2ubuntu1+esm2 | Not reported | UBUNTU-CVE-2024-23652 | Not reported |
| Ubuntu | docker.io-app | deb | pro | 26.1.3-0ubuntu1~20.04.1+esm1 | Not reported | UBUNTU-CVE-2024-23652 | Not reported |
| Ubuntu | docker.io-app | deb | 22.04 | 27.5.1-0ubuntu3~22.04.2 | Not reported | UBUNTU-CVE-2024-23652 | Not reported |
| Ubuntu | docker.io-app | deb | 24.04 | 27.5.1-0ubuntu3~24.04.2 | Not reported | UBUNTU-CVE-2024-23652 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2024_0586-1.json]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2024-23652]
- [https://ubuntu.com/security/notices/USN-7474-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2024/wid-sec-w-2024-0272.json]
[CERT-Bund public advisories] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]