Insertion of Sensitive Information into Log File Affecting github.com/docker/buildx/util/tracing package, versions <0.21.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insertion of Sensitive Information into Log File vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMDOCKERBUILDXUTILTRACING-9480108
  • published18 Mar 2025
  • disclosed17 Mar 2025
  • creditJohn Stawinski

Introduced: 17 Mar 2025

NewCVE-2025-0495  (opens in a new tab)
CWE-532  (opens in a new tab)

How to fix?

Upgrade github.com/docker/buildx/util/tracing to version 0.21.3 or higher.

Overview

Affected versions of this package are vulnerable to Insertion of Sensitive Information into Log File in the form of credentials being passed as parameter values when registering a new user via the OpenTelemetry endpoint. These values may be passed in a cache-to/cache-from configuration and then recorded by an OpenTelemetry trace as part of the arguments and flags for the traced CLI command. Passing tokens to Github cache backend via environment variables or using registry authentication is not affected.

CVSS Base Scores

version 4.0
version 3.1