REDHAT-BUG-894486: Low severity libvirt libvirt vulnerability
Description of problem: On my workstation, as a virtual machine host, I have NetworkManager's dnsmasq configured to forward DNS queries for a local domain to 192.168.122.1, so I can resolve those to virtual machine DHCP hostnames. Recently this stopped working.
With manual dig commands, I found that TCP queries still work, but UDP doesn't. For example, in libvirt I have a statically defined name "vhost" to 192.168.122.1 itself. From the host, the command "dig +short +tcp @192.168.122.1 vhost" resolves that just fine. But "dig +short +notcp @192.168.122.1 vhost" says "connection timed out; no servers could be reached". From a guest, +tcp and +notcp both work fine.
Version-Release number of selected component (if applicable): libvirt-0.9.11.8-2.fc17.x8664, dnsmasq-2.63-1.fc17.x8664 I also tried dnsmasq-2.65-1.fc17.x8664 from updates-testing
How reproducible: 100%
Steps to Reproduce: 1. From the virtual machine host, try to query the libvirt dnsmasq. Actual results: $ dig +short +tcp @192.168.122.1 vhost 192.168.122.1 $ dig +short +notcp @192.168.122.1 vhost ;; connection timed out; no servers could be reached
Expected results: A positive answer from both TCP and UDP queries.
Additional info: I suspect this is related to the fixes for CVE-2012-3411, but it seems weird that UDP and TCP would be treated differently.
Affected Software
Event History
Frequently Asked Questions
What is the severity of REDHAT-BUG-894486?
The severity of REDHAT-BUG-894486 is classified as moderate due to the impact on DNS resolution for virtual machine hostnames.
How do I fix REDHAT-BUG-894486?
To fix REDHAT-BUG-894486, ensure that your dnsmasq configuration is correctly directing DNS queries to the intended local domain.
What software does REDHAT-BUG-894486 affect?
REDHAT-BUG-894486 affects Red Hat's libvirt and dnsmasq versions between 2.63 and 2.65.
What are the symptoms of REDHAT-BUG-894486?
Symptoms of REDHAT-BUG-894486 include the failure to resolve virtual machine DHCP hostnames through dnsmasq.
Is there a workaround for REDHAT-BUG-894486?
A potential workaround for REDHAT-BUG-894486 is to manually configure DNS settings to bypass dnsmasq until a proper fix is implemented.