CVE & CISA-KEV Catalog

CVE-2024-23651

HIGH
8.7
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
docker.ioUbuntu
Fixed in:20.10.21-0ubuntu1~18.04.3+esm3USN-7474-1
Fixed in:20.10.21-0ubuntu1~20.04.6+esm2USN-7474-1
Fixed in:20.10.21-0ubuntu1~22.04.7+esm2USN-7474-1
Fixed in:20.10.25+dfsg1-2ubuntu1+esm2USN-7474-1
golang-github-docker-docker-devUbuntu
Fixed in:20.10.21-0ubuntu1~18.04.3+esm3USN-7474-1
Fixed in:20.10.21-0ubuntu1~20.04.6+esm2USN-7474-1
Fixed in:20.10.21-0ubuntu1~22.04.7+esm2USN-7474-1
Fixed in:20.10.25+dfsg1-2ubuntu1+esm2USN-7474-1

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeChanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityNone

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

Exploit Intelligence

0.79%probability of exploitation in 30 days
52ndpercentile

Moderate risk: more likely to be exploited than 52% of all known CVEs.

References

Vendor Advisory1

Related Vulnerabilities

Other CWE-362 (Race Condition) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2024-6387High8.1100%-Fix
CVE-2023-36884High7.599%KEV + RansomFix
CVE-2018-15473Medium5.399%-Fix
CVE-2024-27983High8.287%-Fix
CVE-2014-0226Medium6.886%-Fix
CVE-2016-5195High7.084%KEVFix
Embed a live status badge for CVE-2024-23651
CVE-2024-23651 severity badge

Markdown

[![CVE-2024-23651](https://tridentstack.com/cve/badge/CVE-2024-23651.svg)](https://tridentstack.com/cve/CVE-2024-23651)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-23651"><img src="https://tridentstack.com/cve/badge/CVE-2024-23651.svg" alt="CVE-2024-23651"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.