Insertion of Sensitive Information into Log File
CVE-2025-0495
Summary
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 daemon's history records. This vulnerability does not impact secrets passed to the GitHub cache backend via environment variables or registry authentication. This issue affects github.com/docker/buildx package versions through 0.21.2 and v0.22.0-rc1.
- LOW
- LOCAL
- PASSIVE
- LOW
CWE-532 - Insertion of Sensitive Information into Log File
It's quite common for applications to save logs. For example, whenever a user requests a resource from a particular website, the web server writes information about the request to a log file. These files are helpful for identifying abnormal system activity, bugs, and evaluating the security controls of the application. Security of log files is critical for the overall security of the application and its confidential resources. An application that lacks appropriate logging levels can expose sensitive user data and system information stored on the log files to malicious users. This info can be exploited to compromise your system.
References
Advisory Timeline
- Published