Lucene search

K
ubuntucveUbuntu.comUB:CVE-2024-23651
HistoryJan 31, 2024 - 12:00 a.m.

CVE-2024-23651

2024-01-3100:00:00
ubuntu.com
ubuntu.com
21
buildkit
source code
build artifacts
race condition
cache mounts
host system file
fixed
v0.12.5
untrusted source
dockerfile
cache mounts

8.7 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N

7.3 High

AI Score

Confidence

Low

0.001 Low

EPSS

Percentile

29.7%

BuildKit is a toolkit for converting source code to build artifacts in an
efficient, expressive and repeatable manner. Two malicious build steps
running in parallel sharing the same cache mounts with subpaths could cause
a race condition that can lead to files from the host system being
accessible to the build container. The issue has been fixed in v0.12.5.
Workarounds include, avoiding using BuildKit frontend from an untrusted
source or building an untrusted Dockerfile containing cache mounts with
–mount=type=cache,source=… options.

Notes

Author Note
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

8.7 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

NONE

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N

7.3 High

AI Score

Confidence

Low

0.001 Low

EPSS

Percentile

29.7%