cve.bz

CVE-2021-3502 avahi avahi: Reachable Assertion

5.5 mediumExploit referenceEPSS 0.4%Fix available

Medium (5.5) in avahi avahi. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 32nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-617 Reachable Assertion
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3502 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3502?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3502?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3502 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
avahi:avahi0.8-5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14avahi0.8-6DEBIAN-CVE-2021-3502
Ubuntu18.04:LTSavahi0.7-3.1ubuntu1.3USN-5008-1
Ubuntu20.04:LTSavahi0.7-4ubuntu7.1USN-5008-1
Ubuntu22.04:LTSavahi0.8-5ubuntu4UBUNTU-CVE-2021-3502
Red Hatenterprise_linux:9::appstreamavahi-glib, avahi-tools, avahi-debuginfo and 12 more0:0.8-15.el9RHSA-2023:6707
Red Hatenterprise_linux:9::baseosavahi, avahi-libs, avahi-debuginfo and 12 more0:0.8-15.el9RHSA-2023:6707
Red Hatenterprise_linux:9::crbavahi-devel, avahi-debuginfo, avahi-glib-devel and 16 more0:0.8-15.el9RHSA-2023:6707
openSUSETumbleweedavahi0.8-7.2openSUSE-SU-2024:10643-1
AlmaLinux9avahi, avahi-glib, avahi-libs and 7 more0.8-15.el9ALSA-2023:6707
Alpinev3.18, v3.19, v3.20 and 4 moreavahi0.8-r5ALPINE-CVE-2021-3502
Azure Linux3avahi0.8-1AZL-40943

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue did not affect the versions of avahi as shipped with Red Hat Enterprise Linux 6, 7, and 8 as they did not include the vulnerable code.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9avahi-0:0.8-15.el9Fixed 2023-11-07RHSA-2023:6707
Red Hat Enterprise Linux 6avahiNot affected
Red Hat Enterprise Linux 7avahiNot affected
Red Hat Enterprise Linux 8avahiNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3502.

References

Check your stackJSON