ADVISORIES

Go Vulnerability Database

GO-2024-2659

Data exfiltration from internal networks in github.com/docker/docker

Details

dockerd forwards DNS requests to the host loopback device, bypassing the container network namespace's normal routing semantics, networks marked as 'internal' can unexpectedly forward DNS requests to an external nameserver. By registering a domain for which they control the authoritative nameservers, an attacker could arrange for a compromised container to exfiltrate data by encoding it in DNS queries that will eventually be answered by their nameservers.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/docker/docker
From 25.0.0+incompatible before 25.0.5+incompatible (fixed in 25.0.5+incompatible)
From 26.0.0-rc1+incompatible before 26.0.0-rc3+incompatible (fixed in 26.0.0-rc3+incompatible)

References