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 v26.0.2+incompatible [security] - autoclosed #574

Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 18, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/docker/docker v26.0.0+incompatible -> v26.0.2+incompatible age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-32473

In 26.0.0 and 26.0.1, IPv6 is not disabled on network interfaces, including those belonging to networks where --ipv6=false.

Impact

A container with an ipvlan or macvlan interface will normally be configured to share an external network link with the host machine. Because of this direct access, with IPv6 enabled:

  • Containers may be able to communicate with other hosts on the local network over link-local IPv6 addresses.
  • If router advertisements are being broadcast over the local network, containers may get SLAAC-assigned addresses.
  • The interface will be a member of IPv6 multicast groups.

This means interfaces in IPv4-only networks present an unexpectedly and unnecessarily increased attack surface.

A container with an unexpected IPv6 address can do anything a container configured with an IPv6 address can do. That is, listen for connections on its IPv6 address, open connections to other nodes on the network over IPv6, or attempt a DoS attack by flooding packets from its IPv6 address. This has CVSS score AV:L/AC:H/PR:N/UI:R/S:C/C:N/I:N/A:L (2.7).

Because the container may not be constrained by an IPv6 firewall, there is increased potential for data exfiltration from the container. This has CVSS score AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N (4.7).

A remote attacker could send malicious Router Advertisements to divert traffic to itself, a black-hole, or another device. The same attack is possible today for IPv4 macvlan/ipvlan endpoints with ARP spoofing, TLS is commonly used by Internet APIs to mitigate this risk. The presence of an IPv6 route could impact the container's availability by indirectly abusing the behaviour of software which behaves poorly in a dual-stack environment. For example, it could resolve a name to a DNS AAAA record and keep trying to connect over IPv6 without ever falling back to IPv4, potentially denying service to the container. This has CVSS score AV:A/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H (4.5).

Patches

The issue is patched in 26.0.2.

Workarounds

To completely disable IPv6 in a container, use --sysctl=net.ipv6.conf.all.disable_ipv6=1 in the docker create or docker run command. Or, in the service configuration of a compose file, the equivalent:

        sysctls:
            - net.ipv6.conf.all.disable_ipv6=1

References


Release Notes

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

v26.0.2+incompatible

Compare Source

v26.0.1+incompatible

Compare Source


Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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 has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner April 18, 2024 21:54
@renovate renovate bot added the dependencies Indicates a change to dependencies label Apr 18, 2024
Copy link

codecov bot commented Apr 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.92%. Comparing base (63c4ff6) to head (4873bf5).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #574   +/-   ##
=======================================
  Coverage   57.92%   57.92%           
=======================================
  Files         120      120           
  Lines        5013     5013           
=======================================
  Hits         2904     2904           
  Misses       1906     1906           
  Partials      203      203           

@renovate renovate bot force-pushed the renovate/go-github.com/docker/docker-vulnerability branch from 76adef6 to f133179 Compare April 24, 2024 17:26
@renovate renovate bot force-pushed the renovate/go-github.com/docker/docker-vulnerability branch 3 times, most recently from 3605af1 to 1015d25 Compare May 13, 2024 19:19
@renovate renovate bot force-pushed the renovate/go-github.com/docker/docker-vulnerability branch from 1015d25 to acbccce Compare May 17, 2024 15:44
@renovate renovate bot force-pushed the renovate/go-github.com/docker/docker-vulnerability branch from acbccce to 4873bf5 Compare June 5, 2024 16:02
@renovate renovate bot changed the title fix(deps): update module github.com/docker/docker to v26.0.2+incompatible [security] fix(deps): update module github.com/docker/docker to v26.0.2+incompatible [security] - autoclosed Jun 5, 2024
@renovate renovate bot closed this Jun 5, 2024
@renovate renovate bot deleted the renovate/go-github.com/docker/docker-vulnerability branch June 5, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Indicates a change to dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants