The vendor explicitly identifies these products as affected by this CVE.
- netavark.src as a component of Red Hat Enterprise Linux 10
- aardvark-dns (container-tools:rhel8) as a component of Red Hat Enterprise Linux 8
- containers-common.src (container-tools:rhel8) as a component of Red Hat Enterprise Linux 8
- containers-common (container-tools:rhel8) as a component of Red Hat Enterprise Linux 8
- netavark.src (container-tools:rhel8) as a component of Red Hat Enterprise Linux 8
- netavark (container-tools:rhel8) as a component of Red Hat Enterprise Linux 8
- netavark.src as a component of Red Hat Enterprise Linux 9
- openshift/ose-rhel-coreos-8 as a component of Red Hat OpenShift Container Platform 4
- openshift/ose-rhel-coreos-9 as a component of Red Hat OpenShift Container Platform 4
- Summary
- 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.
- Remediation
- As a proactive mitigation, configure containers to have hostnames formatted as .dns.podman. This specific naming convention will prevent aardvark-dns from forwarding these queries to external search domains, thereby reducing potential exposure or unexpected network behavior associated with such queries.
