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 v27.1.1+incompatible [security] #1494

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 12, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/docker/docker v27.0.3+incompatible -> v27.1.1+incompatible age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-41110

A security vulnerability has been detected in certain versions of Docker Engine, which could allow an attacker to bypass authorization plugins (AuthZ) under specific circumstances. The base likelihood of this being exploited is low. This advisory outlines the issue, identifies the affected versions, and provides remediation steps for impacted users.

Impact

Using a specially-crafted API request, an Engine API client could make the daemon forward the request or response to an authorization plugin without the body. In certain circumstances, the authorization plugin may allow a request which it would have otherwise denied if the body had been forwarded to it.

A security issue was discovered In 2018, where an attacker could bypass AuthZ plugins using a specially crafted API request. This could lead to unauthorized actions, including privilege escalation. Although this issue was fixed in Docker Engine v18.09.1 in January 2019, the fix was not carried forward to later major versions, resulting in a regression. Anyone who depends on authorization plugins that introspect the request and/or response body to make access control decisions is potentially impacted.

Docker EE v19.03.x and all versions of Mirantis Container Runtime are not vulnerable.

Vulnerability details

  • AuthZ bypass and privilege escalation: An attacker could exploit a bypass using an API request with Content-Length set to 0, causing the Docker daemon to forward the request without the body to the AuthZ plugin, which might approve the request incorrectly.
  • Initial fix: The issue was fixed in Docker Engine v18.09.1 January 2019..
  • Regression: The fix was not included in Docker Engine v19.03 or newer versions. This was identified in April 2024 and patches were released for the affected versions on July 23, 2024. The issue was assigned CVE-2024-41110.

Patches

  • docker-ce v27.1.1 containes patches to fix the vulnerability.
  • Patches have also been merged into the master, 19.0, 20.0, 23.0, 24.0, 25.0, 26.0, and 26.1 release branches.

Remediation steps

  • If you are running an affected version, update to the most recent patched version.
  • Mitigation if unable to update immediately:
    • Avoid using AuthZ plugins.
    • Restrict access to the Docker API to trusted parties, following the principle of least privilege.

References


Release Notes

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

v27.1.1+incompatible

Compare Source

v27.1.0+incompatible

Compare Source


Configuration

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

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, 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.

Copy link
Contributor Author

renovate bot commented Sep 12, 2024

ℹ 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):

  • 5 additional dependencies were updated

Details:

Package Change
github.com/felixge/httpsnoop v1.0.3 -> v1.0.4
github.com/prometheus/client_model v0.3.0 -> v0.5.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.45.0 -> v0.50.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.19.0 -> v1.25.0
gotest.tools/v3 v3.4.0 -> v3.5.0

@iwilltry42 iwilltry42 force-pushed the renovate/go-github.com-docker-docker-vulnerability branch from 577d887 to 0513eba Compare September 12, 2024 11:42
@renovate renovate bot force-pushed the renovate/go-github.com-docker-docker-vulnerability branch 19 times, most recently from bfc8a9a to 36cae5a Compare September 13, 2024 10:49
@renovate renovate bot changed the title fix(deps): update module github.com/docker/docker to v27.1.1+incompatible [security] Update module github.com/docker/docker to v27.1.1+incompatible [SECURITY] Sep 13, 2024
@renovate renovate bot force-pushed the renovate/go-github.com-docker-docker-vulnerability branch 8 times, most recently from a8ed079 to a0a5437 Compare September 13, 2024 11:40
@renovate renovate bot force-pushed the renovate/go-github.com-docker-docker-vulnerability branch 3 times, most recently from ac6ecd8 to cfaf5c3 Compare September 13, 2024 11:50
@renovate renovate bot force-pushed the renovate/go-github.com-docker-docker-vulnerability branch from cfaf5c3 to 1c2a62c Compare October 10, 2024 22:41
@renovate renovate bot changed the title Update module github.com/docker/docker to v27.1.1+incompatible [SECURITY] fix(deps): update module github.com/docker/docker to v27.1.1+incompatible [security] Oct 10, 2024
@renovate renovate bot force-pushed the renovate/go-github.com-docker-docker-vulnerability branch 2 times, most recently from 4585c2e to 8d609a6 Compare November 11, 2024 09:06
@renovate renovate bot force-pushed the renovate/go-github.com-docker-docker-vulnerability branch from 8d609a6 to d30807c Compare November 13, 2024 19:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants