Skip to content
OpenAdvisories

Description

Docker Engine classifies a registry hostname as insecure using an any-match DNS check. loadInsecureRegistries() injects 127.0.0.0/8 and ::1/128 as insecure CIDRs by default. isCIDRMatch resolves all of the hostname's addresses and returns true if a single address is in the insecure CIDR list. Because the transport re-dials the hostname rather than the CIDR-matching address, a DNS answer set of one loopback IP plus a non-loopback attacker IP disables certificate verification and enables HTTP fallback for the registry connection.

Affected products

VendorProductAffectedFixed
Docker Docker Engine < 29.8.2 29.8.2
Moby Moby < v2.0.0-beta.25 v2.0.0-beta.25

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 docker.io No fix yet —
Debian 13 docker.io No fix yet —
Debian 12 docker.io No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 docker.io +1 No fix yet —
Ubuntu 26.04 LTS docker.io +1 No fix yet —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS docker.io +1 No fix yet —
Ubuntu Pro 22.04 LTS docker.io +1 No fix yet —
Ubuntu Pro 20.04 LTS docker.io +1 No fix yet —
Ubuntu Pro 18.04 LTS docker.io No fix yet —
Ubuntu Pro 16.04 LTS docker.io No fix yet —
ReleasePackageFixed inAdvisory
Alpine v3.24 docker 29.8.2-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 docker 25.0.18-1.amzn2023.0.1 ALAS2023-2026-3266

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 cert-manager 1.12.15-15 —
Azure Linux 3 docker-buildx 0.14.0-19 —
Azure Linux 3 docker-cli 25.0.7-6 —
Azure Linux 3 docker-compose 2.27.0-16 —
Azure Linux 3 moby-engine No fix yet —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling docker-28 No fix yet —

Advisories 2

References