Local symlink attack in Unbound and NSD
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 2 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-59 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| NLnet Labs | Unbound | up to 1.12.0 | — | No fix listed | CNA |
| NLnet Labs | NSD | up to 4.3.3 | — | No fix listed | CNA |
- Unbound VendorNLnet Labs Affected up to 1.12.0 Fixed in — No fix listed CNA
- NSD VendorNLnet Labs Affected up to 4.3.3 Fixed in — No fix listed CNA
Remediation
Red Hat 2 advisories
- RHSA-2022:0632 Released 2022-02-22 · Red Hat rating Moderateunbound security update
- Red Hat Enterprise Linux AppStream EUS (v. 8.2) python3-unbound-1.7.3-12.el8_2, unbound-1.7.3-12.el8_2, unbound-devel-1.7.3-12.el8_2 +1
- RHSA-2021:1853 Released 2021-05-18 · Red Hat rating Moderateunbound security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) python3-unbound-1.7.3-15.el8, unbound-1.7.3-15.el8, unbound-devel-1.7.3-15.el8 +1
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2021:1853 |
| Red Hat Enterprise Linux AppStream EUS (v. 8.2) | Fixed | RHSA-2022:0632 |
Not affected: 1 product
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2020-28935
- 2026-10-03 Alias added: GHSA-q92f-7cwj-w4w5
References
Advisory 4
More NLnet Labs vulnerabilities
- TI-2026-25690 Possible arbitrary code execution during DNSSEC validation CVSS 4.0CRITICAL 9.1
- TI-2026-56302 Heap buffer overflow and possible Remote Code Execution when digesting DNSKEY CVSS 4.0CRITICAL 9.1
- TI-2026-31146 Crash during DNSSEC validation of malicious content CVSS 4.0HIGH 8.7
- TI-2026-31135 Heap overflow with multiple NSID, COOKIE, PADDING EDNS options CVSS 4.0HIGH 8.7
- TI-2026-36436 Routinator crashes on specifically crafted RRDP XML files CVSS 4.0HIGH 8.7
- TI-2026-36433 Routinator exits when accepting an incoming HTTP or RTR connection fails CVSS 4.0HIGH 8.7
Sources
- CVE-2020-28935 · CVE Program
- CVE-2020-28935 · NVD
- FIRST EPSS
- GHSA-q92f-7cwj-w4w5 · GitHub Advisory Database · CC BY 4.0
- CVE-2020-28935 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences