avahi-daemon crashes on receiving resource records where names contain bytes >= 128 (on NetBSD)
avahi
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| avahi avahi |
| No fix yet |
Original description
Avahi is a system which facilitates service discovery on a local network via the mDNS/DNS-SD protocol suite. In 0.9-rc4 and earlier on NetBSD architectures such as x86_64 where char is signed and the ctype guard-page change is present, avahi_domain_hash can pass a negative value to tolower when a resource-record name contains a byte at or above 128. The invalid ctype input reliably raises SIGSEGV, allowing a remote peer on the local network to crash the Avahi daemon. This issue is fixed with 0.9-rc5.
From the CVE record · GitHub_M