Race Condition Affecting docker package, versions <25.0.2-r0
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-WOLFILATEST-DOCKER-6226460
- published 1 Feb 2024
- disclosed 31 Jan 2024
Introduced: 31 Jan 2024
CVE-2024-23651 Open this link in a new tabHow to fix?
Upgrade Wolfi
docker
to version 25.0.2-r0 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream docker
package and not the docker
package as distributed by Wolfi
.
See How to fix?
for Wolfi
relevant fixed versions and status.
BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Two malicious build steps running in parallel sharing the same cache mounts with subpaths could cause a race condition that can lead to files from the host system being accessible to the build container. The issue has been fixed in v0.12.5. Workarounds include, avoiding using BuildKit frontend from an untrusted source or building an untrusted Dockerfile containing cache mounts with --mount=type=cache,source=... options.