SCA: security update for github.com/moby/buildkit (GHSA-4v98-7qmw-rqr8)

critical Tenable Self-Hosted Container Security Plugin ID 410399

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. A malicious BuildKit frontend or Dockerfile using RUN --mount could trick the feature
that removes empty files created for the mountpoints into removing a file outside the container, from the
host system. The issue has been fixed in v0.12.5. Workarounds include avoiding using BuildKit frontends
from an untrusted source or building an untrusted Dockerfile containing RUN --mount feature.
(CVE-2024-23652)

See Also

https://github.com/advisories/GHSA-4v98-7qmw-rqr8

Plugin Details

Severity: Critical

ID: 410399

Version: Revision 1.14

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: Critical

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7

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

CVSS Score Source: CVE-2024-23652

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 7.9

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

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-23652

cwe: CWE-22