CVE-2021-26720: Debian avahi - Symlink Attack
- Cve: CVE-2021-26720
- Name: Debian avahi - Symlink Attack
- Description: avahi-daemon-check-dns.sh in the Debian avahi package through 0.8-4 is executed as root via /etc/network/if-up.d/avahi-daemon, and allows a local attacker to cause a denial of service or create arbitrary empty files via a symlink attack on files under /run/avahi-daemon. NOTE: this only affects the packaging for Debian GNU/Linux (used indirectly by SUSE), not the upstream Avahi product.
- Impact: Local attackers can cause denial of service or create arbitrary files, potentially affecting system stability and security.
- Remediation: Update to the latest Debian avahi package version where the issue is fixed.
- Vulnerability type: symlink_attack
- Vulnerability impact: denial_of_service, file_system_write
- Requirement type: logged_in
- Requirements: Attacker needs local access
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.8
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00399
- Epss percentile: 0.34945
- Assignee: [email protected]
- Published at: 2021-02-17T22:15:12Z
- Age in days: 2106
- Modified at: 2026-06-17T03:43:43Z
- References total: 9
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-26720
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-59 | Improper Link Resolution Before File Access |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982796 | Mailing List, Third Party Advisory |
| https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/1870824 | Issue Tracking, Third Party Advisory |
| https://bugzilla.suse.com/show_bug.cgi?id=1180827 | Issue Tracking, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/06/msg00009.html | Mailing List, Third Party Advisory |
| https://packages.debian.org/bullseye/avahi-daemon | Product, Third Party Advisory |
| https://packages.debian.org/buster/avahi-daemon | Product, Third Party Advisory |
| https://packages.debian.org/sid/avahi-daemon | Product, Third Party Advisory |
| https://security-tracker.debian.org/tracker/CVE-2021-26720 | Third Party Advisory |
| https://www.openwall.com/lists/oss-security/2021/02/15/2 | Mailing List, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| avahi:avahi | <= 0.8-4 | no | nvd | /v1/products/avahi/avahi |
| debian:debian_linux | = 10.0, = 9.0 | no | nvd | /v1/products/debian/debian_linux |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports