CVE-2024-23651

HIGH
Published Jan 31, 2024 Modified Nov 21, 2024 CWE-362

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.

Is your site exposed to CVE-2024-23651?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

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

Weakness Type (CWE)

CWE-362 CWE-362

Affected Products

Vendor Product
mobyproject buildkit

References

Frequently Asked Questions

What is CVE-2024-23651? +
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. It has a CVSS v3.1 base score of 8.7 (HIGH).
How severe is CVE-2024-23651? +
CVE-2024-23651 has a CVSS v3.1 score of 8.7 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2024-23651? +
CVE-2024-23651 affects products from mobyproject, specifically: buildkit. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-23651? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-23651 — free, no signup required.