CVE-2025-8283: Netavark: podman: netavark may resolve hostnames to unexpected hosts
A vulnerability was found in the netavark package, a network stack for containers used with Podman. Due to dns.podman search domain being removed, netavark may return external servers if a valid A/AAAA record is sent as a response. When creating a container with a given name, this name will be used as the hostname for the container itself, as the podman's search domain is not added anymore the container is using the host's resolv.conf, and the DNS resolver will try to look into the search domains contained on it. If one of the domains contain a name with the same hostname as the running container, the connection will forward to unexpected external servers.
Other sources
Netavark was recently changed, when being used with podman, to remove the dns.podman search domain in detriment of using the host's search domain in the container. This leads to a possible DNS resolve confusion in some scenarios where the container created using podman have the same hostname as an external service. This may lead to containers communicating to unexpected servers instead of the desired one.
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
rust/netavarkto a version that resolves this vulnerability.Fixed in 1.15.1
Event History
Frequently Asked Questions
What is the severity of CVE-2025-8283?
CVE-2025-8283 is classified as a moderate severity vulnerability due to the potential for incorrect DNS resolution.
How do I fix CVE-2025-8283?
To address CVE-2025-8283, update the netavark package to the latest version where this issue has been resolved.
Which software is affected by CVE-2025-8283?
CVE-2025-8283 affects the netavark package used with Red Hat Podman for container networking.
What is the impact of CVE-2025-8283?
The impact of CVE-2025-8283 is that malicious external servers may be returned as legitimate responses when creating containers.
When was CVE-2025-8283 disclosed?
CVE-2025-8283 was disclosed as part of ongoing security assessments of the netavark package.