6.5 MEDIUM
- CVSS version: 3.1
- Attack vector (AV): NETWORK
- Attack complexity (AC): LOW
- Privileges required (PR): NONE
- User interaction (UI): REQUIRED
- Scope (S): UNCHANGED
- Confidentiality impact (C): NONE
- Integrity impact (I): NONE
- Availability impact (A): HIGH
Avahi has Uncontrolled Recursion in lookup_handle_cname function
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.
References
- https://github.com/avahi/avahi/commit/78eab31128479f06e30beb8c1cbf99dd921e2524 x_refsource_MISC
- https://github.com/avahi/avahi/security/advisories/GHSA-h4vp-5m8j-f6w3 x_refsource_CONFIRM
- https://github.com/avahi/avahi/issues/501 x_refsource_MISC
- https://github.com/avahi/avahi/commit/78eab31128479f06e30beb8c1cbf99dd921e2524 x_refsource_MISC
- https://github.com/avahi/avahi/security/advisories/GHSA-h4vp-5m8j-f6w3 x_refsource_CONFIRM
- https://github.com/avahi/avahi/issues/501 x_refsource_MISC
Affected products
- ==< 78eab31128479f06e30beb8c1cbf99dd921e2524
Matching in nixpkgs
pkgs.avahi
mDNS/DNS-SD implementation
pkgs.guile-avahi
Bindings to Avahi for GNU Guile
pkgs.avahi-compat
mDNS/DNS-SD implementation
pkgs.haskellPackages.avahi
Minimal DBus bindings for Avahi daemon (http://avahi.org)
pkgs.python312Packages.avahi
mDNS/DNS-SD implementation
pkgs.python313Packages.avahi
mDNS/DNS-SD implementation
Package maintainers
-
@globin Robin Gloster <mail@glob.in>
-
@lovek323 Jason O'Conal <jason@oconal.id.au>
-
@foo-dogsquared Gabriel Arazas <foodogsquared@foodogsquared.one>