Advisory

GO-2024-2659

Also known as: CVE-2024-29018, GHSA-mq39-4gv4-mvpx

Summary

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.

Severity

Not rated by the source.

Dates

Published
2024-03-22 18:49 UTC
Modified
2026-02-04 03:49 UTC

Affected packages and fixes

github.com/docker/docker

Go · All systems

Affected

  • introduced 25.0.0+incompatible, fixed 25.0.5+incompatible, introduced 26.0.0-rc1+incompatible, fixed 26.0.0-rc3+incompatible (semver)

Fixed versions

25.0.5+incompatible, 26.0.0-rc3+incompatible

Fix

  • Fixed version 25.0.5+incompatible
    go get github.com/docker/[email protected]+incompatible
  • Fixed version 26.0.0-rc3+incompatible
    go get github.com/docker/[email protected]+incompatible

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences