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.
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade unboundUpgrade unbound-devel | May 4, 2022 | Dec 7, 2020 |
| Alpine Linux | — | Upgrade unboundUpgrade nsd | Mar 26, 2024 | Dec 7, 2020 |
| Amazon Linux Ami 2 | — | Upgrade unboundUpgrade unbound-libsUpgrade unbound-develUpgrade python3-unboundUpgrade python2-unboundUpgrade unbound-debuginfo | Jul 2, 2021 | Dec 7, 2020 |
| Arch Linux | — | Upgrade to the latest version of Arch Linux | Jul 11, 2025 | Dec 7, 2020 |
| Centos_linux | — | Upgrade unbound-libs-debuginfoUpgrade unbound-debugsourceUpgrade python3-unbound-debuginfoUpgrade python3-unboundUpgrade unbound-libsUpgrade unbound-debuginfoUpgrade unbound-develUpgrade unbound | Jun 1, 2021 | Dec 7, 2020 |
| Debian | — | Upgrade unboundUpgrade nsd | Feb 16, 2021 | Dec 7, 2020 |
| Freebsd | — | Upgrade unboundUpgrade nsd | Dec 13, 2020 | Dec 12, 2020 |
| Gentoo Linux | — | Upgrade net-dns/nsd. | Jan 29, 2021 | Dec 7, 2020 |
| Huawei Euleros 2_0_sp2 | — | Upgrade unbound-libsUpgrade unbound | Sep 16, 2021 | Dec 7, 2020 |
| Huawei Euleros 2_0_sp3 | — | Upgrade unbound-libsUpgrade unbound | Apr 30, 2021 | Dec 7, 2020 |
| Huawei Euleros 2_0_sp5 | — | Upgrade unbound-libsUpgrade unbound | Mar 24, 2021 | Dec 7, 2020 |
| Huawei Euleros 2_0_sp8 | — | Upgrade unboundUpgrade unbound-libsUpgrade python2-unboundUpgrade python3-unbound | Feb 2, 2021 | Dec 7, 2020 |
| Huawei Euleros 2_0_sp9 | — | Upgrade unbound-libsUpgrade unboundUpgrade python3-unbound | Jan 5, 2021 | Dec 7, 2020 |
| Oracle_linux | — | Upgrade unboundUpgrade unbound-libsUpgrade python3-unboundUpgrade unbound-devel | May 26, 2021 | Sep 9, 2020 |
| Redhat_linux | — | Upgrade unbound-debugsourceUpgrade unbound-debuginfoUpgrade python3-unboundUpgrade unbound-develUpgrade unbound-libsNo solution existsUpgrade unboundUpgrade unbound-libs-debuginfoUpgrade python3-unbound-debuginfo | May 21, 2021 | Dec 7, 2020 |
| Rocky_linux | — | Upgrade python3-unboundUpgrade python3-unbound-debuginfoUpgrade unbound-libs-debuginfoUpgrade unbound-develUpgrade unbound-debuginfoUpgrade unbound-debugsourceUpgrade unbound-libsUpgrade unbound | Mar 12, 2024 | Dec 7, 2020 |
| Suse | — | Upgrade unbound-develUpgrade unbound-anchorUpgrade unbound-muninUpgrade unbound-pythonUpgrade libunbound2Upgrade unboundUpgrade nsd | Dec 11, 2020 | Dec 7, 2020 |
| Ubuntu | — | Upgrade libunbound8Upgrade libunbound2Upgrade unbound | May 7, 2021 | Dec 7, 2020 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | Jan 20, 2025 | Dec 7, 2020 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub