Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

x/vulndb: potential Go vuln in github.com/moby/buildkit: CVE-2024-23651 #2493

Closed
GoVulnBot opened this issue Jan 31, 2024 · 1 comment
Assignees

Comments

@GoVulnBot
Copy link

CVE-2024-23651 references github.com/moby/buildkit, which may be a Go module.

Description:
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.

References:

Cross references:

See doc/triage.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/moby/buildkit
      vulnerable_at: 0.12.5
      packages:
        - package: buildkit
cves:
    - CVE-2024-23651
references:
    - advisory: https://github.com/moby/buildkit/security/advisories/GHSA-m3r6-h7wv-7xxv
    - fix: https://github.com/moby/buildkit/pull/4604

@timothy-king timothy-king self-assigned this Feb 7, 2024
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/563075 mentions this issue: data/reports: add GO-2024-2493.yaml

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants