Skip to content
Heist/ feed
Back to feed
MediumFix available

avahi — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2021-3502

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.

Products
avahi
Affected versions
Not specified
Fixed versions
0.8-6
CVEs
CVE-2021-3502
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 00:43 UTC · Revision 1

Source evidence

DEBIAN-CVE-2021-3502

core-osv · Original source

Published 7 May 2021, 12:15 UTC

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.

osv:DEBIAN-CVE-2021-3502

avahi

Fixed versions: 0.8-6

avahi

Fixed versions: 0.8-6

avahi

Fixed versions: 0.8-6

Complete source record
{
  "id": "0cb5c4f315475eb579a5df77c486e9c0105b682350a2749ac1b0e1d7d8e522f7",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-3502",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2021-3502",
    "summary": "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.",
    "evidence": "osv:DEBIAN-CVE-2021-3502",
    "products": [
      {
        "name": {
          "value": "avahi",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.8-6",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "avahi",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.8-6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "avahi",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "0.8-6",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "DEBIAN-CVE-2021-3502",
      "aliases": [
        "DEBIAN-CVE-2021-3502"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.8-6"
                }
              ]
            }
          ],
          "package": {
            "name": "avahi",
            "purl": "pkg:deb/debian/avahi?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3502.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.8-6"
                }
              ]
            }
          ],
          "package": {
            "name": "avahi",
            "purl": "pkg:deb/debian/avahi?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3502.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0.8-6"
                }
              ]
            }
          ],
          "package": {
            "name": "avahi",
            "purl": "pkg:deb/debian/avahi?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3502.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-23T18:03:37.769253254Z",
      "provider": "osv",
      "upstream": [
        "CVE-2021-3502"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2021-3502"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2021-3502",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 422056,
  "published_at": "2021-05-07T12:15:07.267+00:00"
}