CVE-2021-3502

NameCVE-2021-3502
DescriptionA flaw was found in avahi 0.8-5. A reachable assertion is present in avahi_s_host_name_resolver_start function allowing a local attacker to crash the avahi service by requesting hostname resolutions through the avahi socket or dbus methods for invalid hostnames. The highest threat from this vulnerability is to the service availability.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs986018

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
avahi (PTS)buster0.7-4+deb10u1fixed
buster (security)0.7-4+deb10u3fixed
bullseye0.8-5+deb11u2fixed
bookworm0.8-10fixed
trixie, sid0.8-13fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
avahisourcestretch(not affected)
avahisourcebuster(not affected)
avahisourcebullseye0.8-5+deb11u1
avahisource(unstable)0.8-6986018

Notes

[buster] - avahi <not-affected> (Vulnerable code introduced later)
[stretch] - avahi <not-affected> (Vulnerable code introduced later)
https://github.com/lathiat/avahi/issues/338
Fixed by: https://github.com/lathiat/avahi/commit/9d31939e55280a733d930b15ac9e4dda4497680c
Introduced by: https://github.com/lathiat/avahi/commit/80c98fa16782e921f5b5d5c880f1d80f5c43bd49 (v0.8)

Search for package or bug name: Reporting problems