Live threats

All CVEs / Mobyproject

CVE-2024-23653Mobyproject Buildkit

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.6%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Jan 31, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-863
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. In addition to running containers as build steps, BuildKit also provides APIs for running interactive containers based on built images. It was possible to use these APIs to ask BuildKit to run a container with elevated privileges. Normally, running such containers is only allowed if special `security.insecure` entitlement is enabled both by buildkitd configuration and allowed by the user initializing the build request. The issue has been fixed in v0.12.5 . Avoid using BuildKit frontends from untrusted sources.

Original NVD text.

What to do

  1. Apply the vendor's security update for Buildkit.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/moby/buildkit < 0.12.5 0.12.5 go get github.com/moby/buildkit@v0.12.5
Go github.com/moby/buildkit < 0.12.5 0.12.5 go get github.com/moby/buildkit@v0.12.5

Per OSV / GitHub Advisories (GHSA-wr6v-9f75-vh2g, GO-2024-2497). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mobyprojectbuildkit< 0.12.5

Official sources

References

Links published by the sources. Open them with care.