Description of the patch:
This update for buildkit fixes the following issues:
-
Update to version 0.12.5:
- update runc to v1.1.12
- exec: add extra validation for submount sources (fixes CVE-2024-23651, bsc#1219267)
- oci: fix error handling on submount calls
- executor: recheck mount stub path within root after container run (fixes CVE-2024-23652, bsc#1219268)
- llbsolver: make sure interactive container API validates entitlements (fixes CVE-2024-23653, bsc#1219438)
- gateway: pass executor with build and not access worker directly
- pb: add extra validation to protobuf types
- sourcepolicy: add validations for nil values
- exporter: add validation for platforms key value
- exporter: add validation for invalid platorm
- exporter: validate null config metadata from gateway
- ci: disable push if not upstream repo
- hack: use git context only for upstream repo
- hack/test: allow ALPINE_VERSION to be set from env
- hack: align syntax
- vendor: github.com/cyphar/filepath-securejoin v0.2.4
- tracing: allow the
Resource to be set externally
-
Update to version 0.12.4:
- Fix possible concurrent map access on remote cache export
- Fix hang on debug server listener
- Fix possible deadlock in History API under high number of parallel builds
- Fix possible panic on handling deleted records in History API
- Fix possible data corruption in zstd library
-
Update to version 0.12.3:
- Fix possible duplicate source files in provenance attestation for chained builds
- Fix possible negative step time in progressbar for step shared with other build request
- Fix properly closing history and cache DB on shutdown to avoid corruption
- Fix incorrect error handling for invalid HTTP source URLs
- Fix fallback cases for ambiguous insecure configuration provided for registry used as push target.
- Fix possible data race with parallel image config resolves
- Fix regression in v0.12 for clients waiting on buildkitd to become…