Logo
componentavahi
Name
avahi
Version
0.8
Type
library
Description
-
Licenses
LGPL-2.1+
PURL
-
CPE
cpe:2.3:a:avahi:avahi:0.8:-:*:*:*:*:*:*

Other Versions#


Project
Branch
Version
master
0.8

Patches#


#
Title
Author
Resolve
1
Fix NULL pointer crashes from #175
Tommi Rantala <tommi.t.rantala@nokia.com>
CVE-2021-36217
2
Patch #2
Waldemar Brodkorb <wbx@openadk.org>
3
Avoid infinite-loop in avahi-daemon by handling HUP event in
Riccardo Schirone <sirmy15@gmail.com>
CVE-2021-3468
4
core: reject overly long TXT resource records
Evgeny Vereshchagin <evvers@ya.ru>
CVE-2023-38469
5
Ensure each label is at least one byte long
=?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik@redhat.com>
CVE-2023-38470
6
[common] bail out when escaped labels can't fit into ret
Evgeny Vereshchagin <evvers@ya.ru>
CVE-2023-38470
7
core: extract host name using avahi_unescape_label()
Michal Sekletar <msekleta@redhat.com>
CVE-2023-38471
8
core: return errors from avahi_server_set_host_name properly
Evgeny Vereshchagin <evvers@ya.ru>
CVE-2023-38471
9
core: make sure there is rdata to process before parsing it
Michal Sekletar <msekleta@redhat.com>
CVE-2023-38472
10
common: derive alternative host name from its unescaped
Michal Sekletar <msekleta@redhat.com>
CVE-2023-38473
11
Properly randomize query id of DNS packets
=?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= <pemensik@redhat.com>
CVE-2024-52616
12
core/wide-area: fix for CVE-2024-52615
Michal Sekletar <msekleta@redhat.com>
CVE-2024-52615
13
core: refuse to create wide-area record browsers when
Evgeny Vereshchagin <evvers@ya.ru>
CVE-2025-68276
14
core: fix DoS bug by removing incorrect assertion
Hugo Muis <198191869+friendlyhugo@users.noreply.github.com>
CVE-2025-68468
15
core: fix DoS bug by changing assert to return
Hugo Muis <198191869+friendlyhugo@users.noreply.github.com>
CVE-2025-68471
16
core: fix uncontrolled recursion bug using a simple loop
Hugo Muis <198191869+friendlyhugo@users.noreply.github.com>
CVE-2026-24401

Vulnerabilities#


Name
Analysis
Description
Exploitable
Avahi is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite. Prior to version 0.9-rc4, any unprivileged local user can crash avahi-daemon by sending a single D-Bus method call with conflicting publish flags. This issue has been patched in version 0.9-rc4.
Patched
Avahi is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite. In versions 0.9rc2 and below, avahi-daemon can be crashed via a segmentation fault by sending an unsolicited mDNS response containing a recursive CNAME record, where the alias and canonical name point to the same domain (e.g., "h.local" as a CNAME for "h.local"). This causes unbounded recursion in the lookup_handle_cname function, leading to stack exhaustion. The vulnerability affects record browsers where AVAHI_LOOKUP_USE_MULTICAST is set explicitly, which includes record browsers created by resolvers used by nss-mdns. This issue is patched in commit 78eab31128479f06e30beb8c1cbf99dd921e2524.
Patched
Avahi is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite. In 0.9-rc2 and earlier, avahi-daemon can be crashed by sending 2 unsolicited announcements with CNAME resource records 2 seconds apart.
Patched
Avahi is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite. In 0.9-rc2 and earlier, avahi-daemon can be crashed by sending unsolicited announcements containing CNAME resource records pointing it to resource records with short TTLs. As soon as they expire avahi-daemon crashes.
Patched
Avahi is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite. In 0.9-rc2 and earlier, an unprivileged local users can crash avahi-daemon (with wide-area disabled) by creating record browsers with the AVAHI_LOOKUP_USE_WIDE_AREA flag set via D-Bus. This can be done by either calling the RecordBrowserNew method directly or creating hostname/address/service resolvers/browsers that create those browsers internally themselves.
Exploitable
Avahi is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite. In versions up to and including 0.9-rc2, the simple protocol server ignores the documented client limit and accepts unlimited connections, allowing for easy local DoS. Although `CLIENTS_MAX` is defined, `server_work()` unconditionally `accept()`s and `client_new()` always appends the new client and increments `n_clients`. There is no check against the limit. When client cannot be accepted as a result of maximal socket number of avahi-daemon, it logs unconditionally error per each connection. Unprivileged local users can exhaust daemon memory and file descriptors, causing a denial of service system-wide for mDNS/DNS-SD. Exhausting local file descriptors causes increased system load caused by logging errors of each of request. Overloading prevents glibc calls using nss-mdns plugins to resolve `*.local.` names and link-local addresses. As of time of publication, no known patched versions are available, but a candidate fix is available in pull request 808, and some workarounds are available. Simple clients are offered for nss-mdns package functionality. It is not possible to disable the unix socket `/run/avahi-daemon/socket`, but resolution requests received via DBus are not affected directly. Tools avahi-resolve, avahi-resolve-address and avahi-resolve-host-name are not affected, they use DBus interface. It is possible to change permissions of unix socket after avahi-daemon is started. But avahi-daemon does not provide any configuration for it. Additional access restrictions like SELinux can also prevent unwanted tools to access the socket and keep resolution working for trusted users.
Patched
A flaw was found in the Avahi-daemon, where it initializes DNS transaction IDs randomly only once at startup, incrementing them sequentially after that. This predictable behavior facilitates DNS spoofing attacks, allowing attackers to guess transaction IDs.
Patched
A flaw was found in Avahi-daemon, which relies on fixed source ports for wide-area DNS queries. This issue simplifies attacks where malicious DNS responses are injected.
Patched
A vulnerability was found in Avahi. A reachable assertion exists in the avahi_alternative_host_name() function.
Patched
A vulnerability was found in Avahi. A reachable assertion exists in the avahi_rdata_parse() function.
Patched
A vulnerability was found in Avahi. A reachable assertion exists in the dbus_set_host_name function.
Patched
A vulnerability was found in Avahi. A reachable assertion exists in the avahi_escape_label() function.
Patched
A vulnerability was found in Avahi, where a reachable assertion exists in avahi_dns_packet_append_record.
Patched
Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: CVE-2021-3502. Reason: This candidate is a duplicate of CVE-2021-3502. Notes: All CVE users should reference CVE-2021-3502 instead of this candidate. All references and descriptions in this candidate have been removed to prevent accidental usage
Patched
A flaw was found in avahi in versions 0.6 up to 0.8. The event used to signal the termination of the client connection on the avahi Unix socket is not correctly handled in the client_work function, allowing a local attacker to trigger an infinite loop. The highest threat from this vulnerability is to the availability of the avahi service, which becomes unresponsive after this flaw is triggered.