Improper Control of a Resource Through its Lifetime Affecting github.com/docker/docker/libnetwork package, versions <25.0.5 >=26.0.0-rc1 <26.0.0-rc3
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-GOLANG-GITHUBCOMDOCKERDOCKERLIBNETWORK-6474507
- published 21 Mar 2024
- disclosed 20 Mar 2024
- credit yair zak
Introduced: 20 Mar 2024
CVE-2024-29018 Open this link in a new tabHow to fix?
Upgrade github.com/docker/docker/libnetwork
to version 25.0.5, 26.0.0-rc3 or higher.
Overview
github.com/docker/docker/libnetwork is a package that provides a native Go implementation for connecting containers
Affected versions of this package are vulnerable to Improper Control of a Resource Through its Lifetime in allowing DNS requests from internal
networks to be forwarded to an external nameserver, violating the documented expectation that the --internal
option will "completely isolate" the internal network. An attacker in control of the authoritative nameserver for a domain could indirectly exfiltrate data through DNS queries made by a compromised container.
Workaround
This vulnerability can be avoided by running containers with a custom address for the --dns
argument to docker run
.