cve.bz

CVE-2020-28935 Link Following

5.5 mediumEPSS 0.5%

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

On this page
NLnet Labs Unbound, up to and including version 1.12.0, and NLnet Labs NSD, up to and including version 4.3.3, contain a local vulnerability that would allow for a local symlink attack. When writing the PID file, Unbound and NSD create the file if it is not there, or open an existing file for writing. In case the file was already present, they would follow symlinks if the file happened to be a symlink instead of a regular file. An additional chown of the file would then take place after it was written, making the user Unbound/NSD is supposed to run as the new owner of the file. If an attacker has local access to the user Unbound/NSD runs as, she could create a symlink in place of the PID file pointing to a file that she would like to erase. If then Unbound/NSD is killed and the PID file is not cleared, upon restarting with root privileges, Unbound/NSD will rewrite any file pointed at by the symlink. This is a local vulnerability that could create a Denial of Service of the system Unbound/NSD is running on. It requires an attacker having access to the limited permission user Unbound/NSD runs as and point through the symlink to a critical file on the system.

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.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-59 Improper Link Resolution Before File Access (Link Following)
OWASP Top 10
A01:2025 Broken Access Control
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-2020-28935 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-28935?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-28935?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-2020-28935 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
nlnetlabs:name_server_daemonbefore 4.3.4
nlnetlabs:unboundbefore 1.13.0
debian:debian_linux9.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9unbound1.91.9.0-2+deb10u2~deb9u1DLA-2556-1
Debian10unbound1.9.0-2+deb10u3DLA-3371-1
Debian12, 13, 14nsd4.3.4-1DEBIAN-CVE-2020-28935
Debian12, 13, 14unbound1.13.0-1DEBIAN-CVE-2020-28935
Ubuntu18.04:LTSunbound1.6.7-1ubuntu2.4UBUNTU-CVE-2020-28935 USN-4938-1
Ubuntu20.04:LTSunbound1.9.4-2ubuntu1.2UBUNTU-CVE-2020-28935 USN-4938-1
UbuntuPro:14.04:LTS, Pro:16.04:LTSunboundno fix listedUBUNTU-CVE-2020-28935
Red Hatenterprise_linux:8::appstreamunbound, unbound-libs, unbound-devel and 5 more0:1.7.3-15.el8RHSA-2021:1853
Red Hatrhel_eus:8.2::appstreamunbound, unbound-libs, unbound-devel and 5 more0:1.7.3-12.el8_2RHSA-2022:0632
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 13 moreunbound1.6.8-10.6.1SUSE-SU-2022:0176-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moreunbound1.6.8-3.9.1SUSE-SU-2022:0301-1
SUSELinux Enterprise Real Time 15 SP2unbound1.6.8-10.6.1SUSE-SU-2022:0176-2
SUSEPackage Hub 12, Package Hub 15 SP1, Package Hub 15 SP2nsd4.3.4-bp152.2.3.1openSUSE-SU-2020:2222-1
openSUSELeap 15.1, Leap 15.2nsd4.3.4-bp152.2.3.1openSUSE-SU-2020:2222-1
openSUSELeap 15.3unbound1.6.8-10.6.1openSUSE-SU-2022:0176-1
openSUSETumbleweednsd4.3.7-1.2openSUSE-SU-2024:11100-1
openSUSETumbleweedsslh2.2.3-1.1openSUSE-SU-2025:15069-1
openSUSETumbleweedunbound1.13.2-1.2openSUSE-SU-2024:11005-1
Rocky Linux8unbound0:1.7.3-15.el8RLSA-2021:1853
Alpinev3.12, v3.13, v3.14 and 10 morensd4.3.4-r0ALPINE-CVE-2020-28935
Azure Linux2unbound1.10.0-5AZL-6931

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; Rocky Linux's errata, BSD-3-Clause; 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 · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's mitigation

If SELinux is enabled in Enforcing mode (the default value in Red Hat Enterprise Linux 8), this kind of attack is prevented as unbound would be blocked from accessing the symbolic link file.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8unbound-0:1.7.3-15.el8Fixed 2021-05-18RHSA-2021:1853
Red Hat Enterprise Linux 8.2 Extended Update Supportunbound-0:1.7.3-12.el8_2Fixed 2022-02-22RHSA-2022:0632
Red Hat Enterprise Linux 6unboundOut of support scope
Red Hat Enterprise Linux 7unboundOut of support scope
Red Hat Enterprise Linux 9unboundNot 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-2020-28935.

Attack patterns (CAPEC)

  • CAPEC-17 Using Malicious Files Likelihood: High · Severity: Very High
  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-76 Manipulating Web Input to File System Calls Likelihood: High · Severity: Very High
  • CAPEC-132 Symlink Attack Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON