SCA: security update for github.com/moby/buildkit (GHSA-m3r6-h7wv-7xxv)

high Tenable Cloud Security Plugin ID 416694

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2024-23651)

See Also

https://github.com/advisories/GHSA-m3r6-h7wv-7xxv

Plugin Details

Severity: High

ID: 416694

Version: Revision 1.19

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.37

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.1

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:H/Au:N/C:C/I:C/A:N

CVSS Score Source: CVE-2024-23651

CVSS v3

Risk Factor: High

Base Score: 7.4

Temporal Score: 6.4

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 1/31/2024

Vulnerability Publication Date: 1/31/2024

Reference Information

CVE: CVE-2024-23651

cwe: CWE-362