Vulnerability · Published May 7, 2021 · Assigned by redhat
CVE-2021-3502
Medium 5.5
In plain English
A medium-severity security flaw in avahi. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.4%top 68.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
A 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | avahi | 0.8-15.el9 | ALSA-2023:6707 |
| AlmaLinux:9 | avahi-compat-howl | 0.8-15.el9 | ALSA-2023:6707 |
| AlmaLinux:9 | avahi-compat-howl-devel | 0.8-15.el9 | ALSA-2023:6707 |
| AlmaLinux:9 | avahi-compat-libdns_sd | 0.8-15.el9 | ALSA-2023:6707 |
| AlmaLinux:9 | avahi-compat-libdns_sd-devel | 0.8-15.el9 | ALSA-2023:6707 |
| AlmaLinux:9 | avahi-devel | 0.8-15.el9 | ALSA-2023:6707 |
| AlmaLinux:9 | avahi-glib | 0.8-15.el9 | ALSA-2023:6707 |
| AlmaLinux:9 | avahi-glib-devel | 0.8-15.el9 | ALSA-2023:6707 |
| AlmaLinux:9 | avahi-libs | 0.8-15.el9 | ALSA-2023:6707 |
| AlmaLinux:9 | avahi-tools | 0.8-15.el9 | ALSA-2023:6707 |
| Alpine:v3.20 | avahi | 0.8-r5 | ALPINE-CVE-2021-3502 |
| Alpine:v3.21 | avahi | 0.8-r5 | ALPINE-CVE-2021-3502 |
| Alpine:v3.22 | avahi | 0.8-r5 | ALPINE-CVE-2021-3502 |
| Alpine:v3.23 | avahi | 0.8-r5 | ALPINE-CVE-2021-3502 |
| Alpine:v3.24 | avahi | 0.8-r5 | ALPINE-CVE-2021-3502 |
| Debian:12 | avahi | 0.8-6 | DEBIAN-CVE-2021-3502 |
| Debian:13 | avahi | 0.8-6 | DEBIAN-CVE-2021-3502 |
| Debian:14 | avahi | 0.8-6 | DEBIAN-CVE-2021-3502 |
| Ubuntu:22.04:LTS | avahi | 0.8-5ubuntu4 | UBUNTU-CVE-2021-3502 |
Affected products (as reported)
Weakness: CWE-617
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1946914 x_refsource_MISC
- https://github.com/lathiat/avahi/issues/338 x_refsource_MISC