Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix(deps): update module github.com/docker/docker to v25 [security] (release-2.9.x) #15902

Open
wants to merge 1 commit into
base: release-2.9.x
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 22, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/docker/docker v23.0.15+incompatible -> v25.0.6+incompatible age adoption passing confidence

Classic builder cache poisoning in github.com/docker/docker

CVE-2024-24557 / GHSA-xw73-rw38-6vjc / GO-2024-2512

More information

Details

Classic builder cache poisoning in github.com/docker/docker

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).


Classic builder cache poisoning

CVE-2024-24557 / GHSA-xw73-rw38-6vjc / GO-2024-2512

More information

Details

The classic builder cache system is prone to cache poisoning if the image is built FROM scratch.
Also, changes to some instructions (most important being HEALTHCHECK and ONBUILD) would not cause a cache miss.

An attacker with the knowledge of the Dockerfile someone is using could poison their cache by making them pull a specially crafted image that would be considered as a valid cache candidate for some build steps.

For example, an attacker could create an image that is considered as a valid cache candidate for:

FROM scratch
MAINTAINER Pawel

when in fact the malicious image used as a cache would be an image built from a different Dockerfile.

In the second case, the attacker could for example substitute a different HEALTCHECK command.

Impact

23.0+ users are only affected if they explicitly opted out of Buildkit (DOCKER_BUILDKIT=0 environment variable) or are using the /build API endpoint (which uses the classic builder by default).

All users on versions older than 23.0 could be impacted. An example could be a CI with a shared cache, or just a regular Docker user pulling a malicious image due to misspelling/typosquatting.

Image build API endpoint (/build) and ImageBuild function from github.com/docker/docker/client is also affected as it the uses classic builder by default.

Patches

Patches are included in Moby releases:

  • v25.0.2
  • v24.0.9
  • v23.0.10
Workarounds
  • Use --no-cache or use Buildkit if possible (DOCKER_BUILDKIT=1, it's default on 23.0+ assuming that the buildx plugin is installed).
  • Use Version = types.BuilderBuildKit or NoCache = true in ImageBuildOptions for ImageBuild call.

Severity

  • CVSS Score: 6.9 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:L

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Moby authz zero length regression in github.com/moby/moby

CVE-2024-41110 / GHSA-v23v-6jw2-98fq / GO-2024-3005

More information

Details

Moby authz zero length regression in github.com/moby/moby

Severity

Unknown

References

This data is provided by OSV and the Go Vulnerability Database (CC-BY 4.0).


Release Notes

docker/docker (github.com/docker/docker)

v25.0.6+incompatible

Compare Source

v25.0.5+incompatible

Compare Source

v25.0.4+incompatible

Compare Source

v25.0.3+incompatible

Compare Source

v25.0.2+incompatible

Compare Source

v25.0.1+incompatible

Compare Source

v25.0.0+incompatible

Compare Source

v24.0.9+incompatible

Compare Source

v24.0.8+incompatible

Compare Source

v24.0.7+incompatible

Compare Source

v24.0.6+incompatible

Compare Source

v24.0.5+incompatible

Compare Source

v24.0.4+incompatible

Compare Source

v24.0.3+incompatible

Compare Source

v24.0.2+incompatible

Compare Source

v24.0.1+incompatible

Compare Source

v24.0.0+incompatible

Compare Source

v23.0.16+incompatible

Compare Source


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner January 22, 2025 19:54
@renovate renovate bot added area/security dependencies Pull requests that update a dependency file labels Jan 22, 2025
Copy link
Contributor Author

renovate bot commented Jan 22, 2025

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 27 additional dependencies were updated
  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.20 -> 1.23.5
cloud.google.com/go/pubsub v1.30.0 -> v1.33.0
cloud.google.com/go/storage v1.29.0 -> v1.30.1
github.com/golang/protobuf v1.5.3 -> v1.5.4
go.etcd.io/bbolt v1.3.6 -> v1.3.10
google.golang.org/api v0.126.0 -> v0.149.0
google.golang.org/grpc v1.56.3 -> v1.59.0
golang.org/x/oauth2 v0.10.0 -> v0.13.0
google.golang.org/protobuf v1.33.0 -> v1.35.2
cloud.google.com/go v0.110.2 -> v0.110.10
cloud.google.com/go/compute v1.20.1 -> v1.23.3
cloud.google.com/go/iam v0.13.0 -> v1.1.5
cloud.google.com/go/longrunning v0.4.1 -> v0.5.4
github.com/Microsoft/go-winio v0.6.0 -> v0.6.2
github.com/envoyproxy/go-control-plane v0.11.1-0.20230524094728-9239064ad72f -> v0.11.1
github.com/envoyproxy/protoc-gen-validate v0.10.1 -> v1.0.2
github.com/go-logr/logr v1.2.4 -> v1.3.0
github.com/google/s2a-go v0.1.4 -> v0.1.7
github.com/googleapis/enterprise-certificate-proxy v0.2.3 -> v0.3.2
github.com/googleapis/gax-go/v2 v2.11.0 -> v2.12.0
github.com/opencontainers/image-spec v1.0.2 -> v1.1.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.44.0 -> v0.45.0
go.opentelemetry.io/otel v1.18.0 -> v1.21.0
go.opentelemetry.io/otel/metric v1.18.0 -> v1.21.0
go.opentelemetry.io/otel/trace v1.18.0 -> v1.21.0
google.golang.org/genproto v0.0.0-20230530153820-e85fd2cbaebc -> v0.0.0-20231211222908-989df2bf70f3
google.golang.org/genproto/googleapis/api v0.0.0-20230530153820-e85fd2cbaebc -> v0.0.0-20231120223509-83a465c0220f
google.golang.org/genproto/googleapis/rpc v0.0.0-20230530153820-e85fd2cbaebc -> v0.0.0-20240401170217-c3f982113cda

@renovate renovate bot force-pushed the deps-update/release-2.9.x-go-github.com-docker-docker-vulnerability branch from e465219 to bbdca6d Compare January 23, 2025 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/security dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants