Lucene search

K
redhatcveRedhat.comRH:CVE-2024-23651
HistoryFeb 01, 2024 - 2:31 p.m.

CVE-2024-23651

2024-02-0114:31:00
redhat.com
access.redhat.com
22
cve-2024-23651
race condition
container escape
host system access
dockerfile
buildkit
untrusted sources

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

8.4 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

29.7%

A race condition issue was found in the Moby Builder Toolkit, stemming from a time-of-check/time-of-use (TOCTOU) vulnerability during cache volume mounting at container build time. Concurrent execution of two malicious build steps, sharing the same cache mounts with subpaths, may result in files from the host system being accessible to the build container. Successful exploitation could lead to a container escape to the underlying host OS when building an image using a malicious Dockerfile or upstream image (for example, when using FROM).

Mitigation

Do not use BuildKit frontends or Dockerfiles from untrusted sources.

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

8.4 High

AI Score

Confidence

High

0.001 Low

EPSS

Percentile

29.7%