CVE-2020-28935
CVE-2020-28935 — Local symlink attack in Unbound and NSD
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…
Published Updated Sources: cvelistV5, NLnet Labs
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
<1%
chance of exploitation in 30 days
CVSS base
Unscored
no source published a base score
Affected scope
The catalog records vendors and products as separate lists, not pairs, so which product belongs to which vendor is not something this page can say.
Vendors (1)
Products (2)
Weakness & attack patterns
- CWE-59
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1547.009Boot or Logon Autostart Execution: Shortcut Modification
- T1574.005Hijack Execution Flow: Executable Installer File Permissions Weakness
- T1574.010Hijack Execution Flow: Services File Permissions Weakness
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /NSD.
References
5 on the record
- www.nlnetlabs.nl/downloads/unbound/CVE-2020-28935.txt
reference
- www.nlnetlabs.nl/downloads/nsd/CVE-2020-28935.txt
reference
- security.gentoo.org/glsa/202101-38
vendor-advisory
- lists.debian.org/debian-lts-announce/2021/02/msg00017.html
mailing-list
- lists.debian.org/debian-lts-announce/2023/03/msg00024.html
mailing-list
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2025-48384 Git allows arbitrary code execution through broken config quotingCVSS 8.0 · CISA KEV
- CVE-2026-81963 Windows Update Stack Elevation of Privilege VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2026-41091 Microsoft Defender Elevation of Privilege VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2025-60710 Host Process for Windows Tasks Elevation of Privilege VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2023-36874 Microsoft Windows Error Reporting Service Privilege Escalation VulnerabilityCVSS 7.8 · CISA KEV
- CVE-2020-0787 Microsoft Windows Background Intelligent Transfer Service (BITS) Improper Privilege Management VulnerabilityCVSS 7.8 · CISA KEV
Elsewhere on this site
- Nlnet Labsevery CVE for this vendor
- CWE-59other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.