{"id":"GO-2024-2497","revision":"3ef5e9f266874fa28e50353e30e88c92","records":[{"revision":"3ef5e9f266874fa28e50353e30e88c92","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2024-2497","aliases":["CVE-2024-23653","GHSA-wr6v-9f75-vh2g"],"title":"Privilege escalation in github.com/moby/buildkit","description":"BuildKit 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.","state":0,"publishedAt":"2024-02-07T04:19:28+00:00","modifiedAt":"2026-02-04T03:48:49.374178+00:00","affected":[{"ecosystem":"Go","name":"github.com/moby/buildkit","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.12.5"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/moby/buildkit/pull/4602","https://github.com/moby/buildkit/commit/92cc595cfb12891d4b3ae476e067c74250e4b71e","https://github.com/moby/buildkit/commit/5026d95aa3336e97cfe46e3764f52d08bac7a10e","https://github.com/moby/buildkit/releases/tag/v0.12.5"],"sourceUrl":"https://osv.dev/vulnerability/GO-2024-2497","license":"OSV · upstream source license applies","key":"osv:GO-2024-2497","identifiers":["GO-2024-2497","CVE-2024-23653","GHSA-wr6v-9f75-vh2g"]},"retained":false,"historicalAffected":[]}],"coverage":[]}