Avahi: Denial of Service
Gentoo Linux Security Advisory
||GLSA 200904-10 / avahi
||April 08, 2009
||April 08, 2009: 01
All supported architectures
An error in Avahi might lead to a Denial of Service via network and CPU
Avahi is a system that facilitates service discovery on a local
Rob Leslie reported that the
originates_from_local_legacy_unicast_socket() function in
avahi-core/server.c does not account for the network byte order of a
port number when processing incoming multicast packets, leading to a
multicast packet storm.
A remote attacker could send specially crafted legacy unicast mDNS
query packets to the Avahi daemon, resulting in a Denial of Service due
to network bandwidth and CPU consumption.
There is no known workaround at this time.
All Avahi users should upgrade to the latest version:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-dns/avahi-0.6.24-r2"