CVE-2021-26720
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine with a low-privilege account. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 0.4% chance of exploitation in the next 30 days (EPSS).
- Fix
- No patch or advisory is linked yet. Look at mitigations or restrict exposure.
Timeline
- ReservedThe CVE id was reserved by its CNA
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.4% in the next 30 days (EPSS).
- Severity: 7.8 HIGH (CVSS).
- Fix: none linked yet, which raises it.
Details
- Published
- Last modified
- Exploit probability
- 0.4% · EPSS, next 30 days
- Weakness
- CWE-59
- Record status
- Modified
Affected
- Avahi ≤ 0.8-4
- Debian Linux 9.0
- Debian Linux 10.0
Attack profile CVSS 3.1 · 7.8
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Raw vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2021-26720.md and follow it. Check whether this project is affected by CVE-2021-26720. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
References
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982796
- https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/1870824
- https://bugzilla.suse.com/show_bug.cgi?id=1180827
- https://lists.debian.org/debian-lts-announce/2022/06/msg00009.html
- https://metadata.ftp-master.debian.org/changelogs/main/a/avahi/avahi_0.8-4_changelog
- https://packages.debian.org/bullseye/avahi-daemon
- https://packages.debian.org/buster/avahi-daemon
- https://packages.debian.org/sid/avahi-daemon
- https://security-tracker.debian.org/tracker/CVE-2021-26720
- https://www.openwall.com/lists/oss-security/2021/02/15/2
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=982796
- https://bugs.launchpad.net/ubuntu/+source/avahi/+bug/1870824
- https://bugzilla.suse.com/show_bug.cgi?id=1180827
- https://lists.debian.org/debian-lts-announce/2022/06/msg00009.html
- https://metadata.ftp-master.debian.org/changelogs/main/a/avahi/avahi_0.8-4_changelog
- https://packages.debian.org/bullseye/avahi-daemon
- https://packages.debian.org/buster/avahi-daemon
- https://packages.debian.org/sid/avahi-daemon
- https://security-tracker.debian.org/tracker/CVE-2021-26720
- https://www.openwall.com/lists/oss-security/2021/02/15/2