CVE Vulnerabilities

CVE-2025-0495

Insertion of Sensitive Information into Log File

Published: Mar 17, 2025 | Modified: Mar 17, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

Buildx is a Docker CLI plugin that extends build capabilities using BuildKit.

Cache backends support credentials by setting secrets directly as attribute values in cache-to/cache-from configuration. When supplied as user input, these secure values may be inadvertently captured in OpenTelemetry traces as part of the arguments and flags for the traced CLI command. OpenTelemetry traces are also saved in BuildKit daemons history records.

This vulnerability does not impact secrets passed to the Github cache backend via environment variables or registry authentication.

Weakness

The product writes sensitive information to a log file.

Affected Software

Name Vendor Start Version End Version
Docker-buildx Ubuntu focal *
Docker-buildx Ubuntu oracular *

Potential Mitigations

References