First published: Tue Jan 04 2011(Updated: )
Description of problem: If a NULL UDP packet is sent to the avahi port 5353 it triggers and infinite loop with all the expected goodies, 100% CPU usage and DOS of avahi. This is due to the fix for <a class="bz_bug_link bz_status_CLOSED bz_closed bz_public " title="CLOSED ERRATA - DoS (assertion failure) after receiving a packet with corrupted checksum [fedora-all]" href="show_bug.cgi?id=607297">bug 607297</a> ( <a class="bz_bug_link bz_status_CLOSED bz_closed bz_public " title="CLOSED ERRATA - DoS (assertion failure) after receiving a packet with corrupted checksum [fedora-all]" href="show_bug.cgi?id=607297">https://bugzilla.redhat.com/show_bug.cgi?id=607297</a> ). You can re-open that bug and fix it with something that clears the null message from the socket before going to fail or you can keep this as a separate bug. Version-Release number of selected component (if applicable): all versions of avahi >0.6.24 Steps to Reproduce: Send a null UDP packet to avahi on port 5353. I personally use Scapy but anything will work. Actual results: Infinite loop. Expected results: Packet discarded. Additional info: In avahi_recv_dns_packet_ipv4 the bug fix: if (!ms) goto fail; Doesn't clear out a Null message from the socket before returning. This is reason for the infinite loop.
Affected Software | Affected Version | How to fix |
---|---|---|
Avahi AutoIP Daemon | >0.6.24 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-667187 is critical due to its potential to cause a denial-of-service condition by consuming 100% CPU usage.
To fix REDHAT-BUG-667187, upgrade Avahi to a version that is greater than 0.6.24 where the vulnerability is addressed.
The REDHAT-BUG-667187 vulnerability is caused by an infinite loop triggered by a NULL UDP packet sent to the avahi port 5353.
Avahi versions below 0.6.24 are affected by the REDHAT-BUG-667187 vulnerability.
Yes, REDHAT-BUG-667187 is primarily associated with systems running Red Hat that utilize the Avahi daemon.