CVE-2020-28935
publishedLocal symlink attack in Unbound and NSD
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| NLnet Labs | — | Unbound<= 1.12.0 | Affected | Not stated | NLnet Labs |
| NLnet Labs | — | NSD<= 4.3.3 | Affected | Not stated | NLnet Labs |
| Amazon Linux | AL2 | Release evaluationALAS2-2021-1683 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | edge | nsd | Fixed | 4.3.4-r0 | Package fix record |
| Debian | buster | unbound | Advisory build | 1.9.0-2+deb10u3 | DLA-3371-1 |
| Oracle Linux | 8 | python3-unboundaarch64 | Advisory build | 0:1.7.3-15.el8 | ELSA-2021-1853 |
| Red Hat Enterprise Linux | RHEL-8 | python3-unboundaarch64 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Alpine Linux | v3.12 | nsd | Fixed | 4.3.4-r0 | Package fix record |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.13 | nsd | Fixed | 4.3.4-r0 | Package fix record |
| Alpine Linux | v3.14 | nsd | Fixed | 4.3.4-r0 | Package fix record |
| Alpine Linux | v3.15 | nsd | Fixed | 4.3.4-r0 | Package fix record |
| Alpine Linux | v3.16 | nsd | Fixed | 4.3.4-r0 | Package fix record |
| Alpine Linux | v3.17 | nsd | Fixed | 4.3.4-r0 | Package fix record |
| Alpine Linux | v3.18 | nsd | Fixed | 4.3.4-r0 | Package fix record |
| Alpine Linux | v3.19 | nsd | Fixed | 4.3.4-r0 | Package fix record |
| Alpine Linux | v3.20 | nsd | Fixed | 4.3.4-r0 | Package fix record |
| Alpine Linux | v3.21 | nsd | Fixed | 4.3.4-r0 | Package fix record |
| Alpine Linux | v3.22 | nsd | Fixed | 4.3.4-r0 | Package fix record |
| Alpine Linux | v3.23 | nsd | Fixed | 4.3.4-r0 | Package fix record |
| Alpine Linux | v3.24 | nsd | Fixed | 4.3.4-r0 | Package fix record |
| Debian | stretch | unbound1.9 | Advisory build | 1.9.0-2+deb10u2~deb9u1 | DLA-2556-1 |
| Oracle Linux | 8 | python3-unboundx86_64 | Advisory build | 0:1.7.3-15.el8 | ELSA-2021-1853 |
| Oracle Linux | 8 | unboundaarch64 | Advisory build | 0:1.7.3-15.el8 | ELSA-2021-1853 |
| Oracle Linux | 8 | unboundx86_64 | Advisory build | 0:1.7.3-15.el8 | ELSA-2021-1853 |
| Oracle Linux | 8 | unbound-develaarch64 | Advisory build | 0:1.7.3-15.el8 | ELSA-2021-1853 |
| Oracle Linux | 8 | unbound-develx86_64 | Advisory build | 0:1.7.3-15.el8 | ELSA-2021-1853 |
| Oracle Linux | 8 | unbound-libsaarch64 | Advisory build | 0:1.7.3-15.el8 | ELSA-2021-1853 |
| Oracle Linux | 8 | unbound-libsx86_64 | Advisory build | 0:1.7.3-15.el8 | ELSA-2021-1853 |
| Red Hat Enterprise Linux | RHEL-8 | python3-unboundaarch64 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | python3-unboundppc64le | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | python3-unboundppc64le | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | python3-unbounds390x | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | python3-unbounds390x | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | python3-unboundx86_64 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | python3-unboundx86_64 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | python3-unbound-debuginfoaarch64 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | python3-unbound-debuginfoaarch64 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | python3-unbound-debuginfoi686 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | python3-unbound-debuginfoi686 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | python3-unbound-debuginfoppc64le | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | python3-unbound-debuginfoppc64le | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | python3-unbound-debuginfos390x | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | python3-unbound-debuginfos390x | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | python3-unbound-debuginfox86_64 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | python3-unbound-debuginfox86_64 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unboundaarch64 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unboundaarch64 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unboundppc64le | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unboundppc64le | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbounds390x | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbounds390x | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unboundsrc | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unboundsrc | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unboundx86_64 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unboundx86_64 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-debuginfoaarch64 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-debuginfoaarch64 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-debuginfoi686 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-debuginfoi686 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-debuginfoppc64le | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-debuginfoppc64le | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-debuginfos390x | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-debuginfos390x | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-debuginfox86_64 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-debuginfox86_64 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-debugsourceaarch64 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-debugsourceaarch64 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-debugsourcei686 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-debugsourcei686 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-debugsourceppc64le | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-debugsourceppc64le | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-debugsources390x | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-debugsources390x | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-debugsourcex86_64 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-debugsourcex86_64 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-develaarch64 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-develaarch64 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-develi686 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-develi686 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-develppc64le | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-develppc64le | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-devels390x | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-devels390x | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-develx86_64 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-develx86_64 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-libsaarch64 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-libsaarch64 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-libsi686 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-libsi686 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-libsppc64le | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-libsppc64le | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-libss390x | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-libss390x | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-libsx86_64 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-libsx86_64 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-libs-debuginfoaarch64 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-libs-debuginfoaarch64 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-libs-debuginfoi686 | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-libs-debuginfoi686 | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-libs-debuginfoppc64le | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-libs-debuginfoppc64le | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-libs-debuginfos390x | Advisory build | 1.7.3-12.el8_2 | RHSA-2022:0632 |
| Red Hat Enterprise Linux | RHEL-8 | unbound-libs-debuginfos390x | Advisory build | 1.7.3-15.el8 | RHSA-2021:1853 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| NLnet Labs | Unbound | <= 1.12.0 (affected) | NLnet Labs · cna |
| NLnet Labs | NSD | <= 4.3.3 (affected) | NLnet Labs · cna |
Weaknesses
1- CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following')
References
5- [debian-lts-announce] 20210212 [SECURITY] [DLA 2556-1] unbound1.9 security update https://lists.debian.org/debian-lts-announce/2021/02/msg00017.html
- [debian-lts-announce] 20230329 [SECURITY] [DLA 3371-1] unbound security update https://lists.debian.org/debian-lts-announce/2023/03/msg00024.html
- GLSA-202101-38 https://security.gentoo.org/glsa/202101-38
- https://www.nlnetlabs.nl/downloads/nsd/CVE-2020-28935.txt
- https://www.nlnetlabs.nl/downloads/unbound/CVE-2020-28935.txt
Provider assertions
2NLnet Labs · cna
Local symlink attack in Unbound and NSD
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 3ad72ade82a68aa7b809e842cd929abfc1de184e66ab503558468dd037318dbf
- Ingested
- 23 Sep 2026, 07:50:07 UTC
- Source record
- Official CVE record