Information Exposure Affecting github.com/moby/buildkit/solver/llbsolver package, versions >=0.10.0 <0.11.4
Threat Intelligence
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 ID SNYK-GOLANG-GITHUBCOMMOBYBUILDKITSOLVERLLBSOLVER-3355191
- published 7 Mar 2023
- disclosed 7 Mar 2023
- credit Oscar Alberto Tovar
Introduced: 7 Mar 2023
CVE-2023-26054 Open this link in a new tabHow to fix?
Upgrade github.com/moby/buildkit/solver/llbsolver
to version 0.11.4 or higher.
Overview
Affected versions of this package are vulnerable to Information Exposure such that when the user sends a build request that contains a Git URL that contains credentials and the build creates a provenance attestation describing that build, these credentials could be visible from the provenance attestation.
Workaround
It is recommended to pass credentials with build secrets when building directly from Git URL as a more secure alternative than modifying the URL.
In Docker Buildx, VCS info hint can be disabled by setting BUILDX_GIT_INFO=0
. buildctl
does not set VCS hints based on .git
directory, and values would need to be passed manually with --opt
.