CVE-2024-23652
Publication date 31 January 2024
Last updated 1 May 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
Package | Ubuntu Release | Status |
---|---|---|
docker.io | 25.04 plucky |
Vulnerable
|
24.10 oracular |
Vulnerable
|
|
24.04 LTS noble |
Fixed 20.10.25+dfsg1-2ubuntu1+esm2
|
|
22.04 LTS jammy |
Fixed 20.10.21-0ubuntu1~22.04.7+esm2
|
|
20.04 LTS focal |
Fixed 20.10.21-0ubuntu1~20.04.6+esm2
|
|
18.04 LTS bionic |
Fixed 20.10.21-0ubuntu1~18.04.3+esm3
|
|
16.04 LTS xenial | Ignored changes too intrusive | |
14.04 LTS trusty | Ignored end of standard support | |
docker.io-app | 25.04 plucky |
Vulnerable
|
24.10 oracular |
Vulnerable
|
|
24.04 LTS noble |
Vulnerable
|
|
22.04 LTS jammy |
Vulnerable
|
|
20.04 LTS focal |
Vulnerable
|
|
18.04 LTS bionic | Not in release | |
16.04 LTS xenial | Not in release | |
14.04 LTS trusty | Ignored end of standard support |
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu ProNotes
alexmurray
Traditionally the docker.io source package contained both the library and docker application. However, in releases that contain the docker.io-app source package, the docker.io source package contains only the library whilst the docker application itself is contained in the docker.io-app package.
sbeattie
docker packages contain an embedded copy of github:moby/buildkit
Patch details
Package | Patch details |
---|---|
docker.io |
Severity score breakdown
Parameter | Value |
---|---|
Base score |
|
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
References
Related Ubuntu Security Notices (USN)
- USN-7474-1
- Docker vulnerabilities
- 1 May 2025