CVEfocus › CVE database › CVE-2021-3502

CVE-2021-3502

EPSS 0.4% (higher than 22% of CVEs)Published 2021-05-07Updated 2024-08-03Assigner: redhat

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.

CWE-617

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

31Fixed
61Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04avahiFixed0.8-5ubuntu4UBUNTU-CVE-2021-3502
Ubuntu 16.04avahiNot affected
vulnerable_code_not_present
Debian 14avahiFixed0.8-6DEBIAN-CVE-2021-3502
Debian 13avahiFixed0.8-6DEBIAN-CVE-2021-3502
Debian 12avahiFixed0.8-6DEBIAN-CVE-2021-3502
Red Hat Enterprise Linux 9avahiFixed0:0.8-15.el9RHSA-2023:6707
Red Hat Enterprise Linux 9avahi-compat-howlFixed0:0.8-15.el9RHSA-2023:6707
Red Hat Enterprise Linux 9avahi-compat-howl-develFixed0:0.8-15.el9RHSA-2023:6707
Red Hat Enterprise Linux 9avahi-compat-libdns_sdFixed0:0.8-15.el9RHSA-2023:6707
Red Hat Enterprise Linux 9avahi-compat-libdns_sd-develFixed0:0.8-15.el9RHSA-2023:6707
Red Hat Enterprise Linux 9avahi-develFixed0:0.8-15.el9RHSA-2023:6707
Red Hat Enterprise Linux 9avahi-glibFixed0:0.8-15.el9RHSA-2023:6707
Red Hat Enterprise Linux 9avahi-glib-develFixed0:0.8-15.el9RHSA-2023:6707
Red Hat Enterprise Linux 9avahi-libsFixed0:0.8-15.el9RHSA-2023:6707
Red Hat Enterprise Linux 9avahi-toolsFixed0:0.8-15.el9RHSA-2023:6707
Red Hat Enterprise Linux 8avahiNot affected
Red Hat Enterprise Linux 8avahi-autoipdNot affected
Red Hat Enterprise Linux 8avahi-compat-howlNot affected
Red Hat Enterprise Linux 8avahi-compat-howl-develNot affected
Red Hat Enterprise Linux 8avahi-compat-libdns_sdNot affected
Red Hat Enterprise Linux 8avahi-compat-libdns_sd-develNot affected
Red Hat Enterprise Linux 8avahi-develNot affected
Red Hat Enterprise Linux 8avahi-glibNot affected
Red Hat Enterprise Linux 8avahi-glib-develNot affected
Red Hat Enterprise Linux 8avahi-gobjectNot affected
Red Hat Enterprise Linux 8avahi-gobject-develNot affected
Red Hat Enterprise Linux 8avahi-libsNot affected
Red Hat Enterprise Linux 8avahi-toolsNot affected
Red Hat Enterprise Linux 8avahi-uiNot affected
Red Hat Enterprise Linux 8avahi-ui-develNot affected
Red Hat Enterprise Linux 8avahi-ui-gtk3Not affected
Red Hat Enterprise Linux 8python3-avahiNot affected
Red Hat Enterprise Linux 7avahiNot affected
Red Hat Enterprise Linux 7avahi-autoipdNot affected
Red Hat Enterprise Linux 7avahi-compat-howlNot affected
Red Hat Enterprise Linux 7avahi-compat-howl-develNot affected
Red Hat Enterprise Linux 7avahi-compat-libdns_sdNot affected
Red Hat Enterprise Linux 7avahi-compat-libdns_sd-develNot affected
Red Hat Enterprise Linux 7avahi-develNot affected
Red Hat Enterprise Linux 7avahi-dnsconfdNot affected
Red Hat Enterprise Linux 7avahi-glibNot affected
Red Hat Enterprise Linux 7avahi-glib-develNot affected
Red Hat Enterprise Linux 7avahi-gobjectNot affected
Red Hat Enterprise Linux 7avahi-gobject-develNot affected
Red Hat Enterprise Linux 7avahi-libsNot affected
Red Hat Enterprise Linux 7avahi-qt3Not affected
Red Hat Enterprise Linux 7avahi-qt3-develNot affected
Red Hat Enterprise Linux 7avahi-qt4Not affected
Red Hat Enterprise Linux 7avahi-qt4-develNot affected
Red Hat Enterprise Linux 7avahi-toolsNot affected
Red Hat Enterprise Linux 7avahi-uiNot affected
Red Hat Enterprise Linux 7avahi-ui-develNot affected
Red Hat Enterprise Linux 7avahi-ui-gtk3Not affected
Red Hat Enterprise Linux 7avahi-ui-toolsNot affected
Red Hat Enterprise Linux 6avahiNot affected
Red Hat Enterprise Linux 6avahi-autoipdNot affected
Red Hat Enterprise Linux 6avahi-compat-howlNot affected
Red Hat Enterprise Linux 6avahi-compat-howl-develNot affected
Red Hat Enterprise Linux 6avahi-compat-libdns_sdNot affected
Red Hat Enterprise Linux 6avahi-compat-libdns_sd-develNot affected
Red Hat Enterprise Linux 6avahi-develNot affected
Red Hat Enterprise Linux 6avahi-dnsconfdNot affected
Red Hat Enterprise Linux 6avahi-glibNot affected
Red Hat Enterprise Linux 6avahi-glib-develNot affected
Red Hat Enterprise Linux 6avahi-gobjectNot affected
Red Hat Enterprise Linux 6avahi-gobject-develNot affected
Red Hat Enterprise Linux 6avahi-libsNot affected
Red Hat Enterprise Linux 6avahi-qt3Not affected
Red Hat Enterprise Linux 6avahi-qt3-develNot affected
Red Hat Enterprise Linux 6avahi-qt4Not affected
Red Hat Enterprise Linux 6avahi-qt4-develNot affected
Red Hat Enterprise Linux 6avahi-toolsNot affected
Red Hat Enterprise Linux 6avahi-uiNot affected
Red Hat Enterprise Linux 6avahi-ui-develNot affected
Red Hat Enterprise Linux 6avahi-ui-toolsNot affected
AlmaLinux 9avahiFixed0.8-15.el9ALSA-2023:6707
AlmaLinux 9avahi-compat-howlFixed0.8-15.el9ALSA-2023:6707
AlmaLinux 9avahi-compat-howl-develFixed0.8-15.el9ALSA-2023:6707
AlmaLinux 9avahi-compat-libdns_sdFixed0.8-15.el9ALSA-2023:6707
AlmaLinux 9avahi-compat-libdns_sd-develFixed0.8-15.el9ALSA-2023:6707
AlmaLinux 9avahi-develFixed0.8-15.el9ALSA-2023:6707
AlmaLinux 9avahi-glibFixed0.8-15.el9ALSA-2023:6707
AlmaLinux 9avahi-glib-develFixed0.8-15.el9ALSA-2023:6707
AlmaLinux 9avahi-libsFixed0.8-15.el9ALSA-2023:6707
AlmaLinux 9avahi-toolsFixed0.8-15.el9ALSA-2023:6707
Alpine Linux 3.24avahiFixed0.8-r5ALPINE-CVE-2021-3502
Alpine Linux 3.23avahiFixed0.8-r5ALPINE-CVE-2021-3502
Alpine Linux 3.22avahiFixed0.8-r5ALPINE-CVE-2021-3502
Alpine Linux 3.21avahiFixed0.8-r5ALPINE-CVE-2021-3502
Alpine Linux 3.20avahiFixed0.8-r5ALPINE-CVE-2021-3502
Alpine Linux 3.19avahiFixed0.8-r5ALPINE-CVE-2021-3502
Alpine Linux 3.18avahiFixed0.8-r5ALPINE-CVE-2021-3502

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.