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 unbound-develUpgrade unbound | May 4, 2022 | Dec 7, 2020 |
| Alpine Linux | — | Upgrade nsdUpgrade unbound | Mar 26, 2024 | Dec 7, 2020 |
| Amazon Linux Ami 2 | — | Upgrade unbound-debuginfoUpgrade python2-unboundUpgrade unbound-develUpgrade unbound-libsUpgrade unboundUpgrade python3-unbound | 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-debuginfoUpgrade unbound-libsUpgrade unboundUpgrade unbound-develUpgrade python3-unboundUpgrade unbound-libs-debuginfoUpgrade python3-unbound-debuginfoUpgrade unbound-debugsource | Jun 1, 2021 | Dec 7, 2020 |
| Debian | — | Upgrade unboundUpgrade nsd | Feb 16, 2021 | Dec 7, 2020 |
| Freebsd | — | Upgrade nsdUpgrade unbound | Dec 13, 2020 | Dec 12, 2020 |
| Gentoo Linux | — | Upgrade net-dns/nsd. | Jan 29, 2021 | Dec 7, 2020 |
| Huawei Euleros 2_0_sp2 | — | Upgrade unboundUpgrade unbound-libs | Sep 16, 2021 | Dec 7, 2020 |
| Huawei Euleros 2_0_sp3 | — | Upgrade unboundUpgrade unbound-libs | Apr 30, 2021 | Dec 7, 2020 |
| Huawei Euleros 2_0_sp5 | — | Upgrade unboundUpgrade unbound-libs | Mar 24, 2021 | Dec 7, 2020 |
| Huawei Euleros 2_0_sp8 | — | Upgrade python3-unboundUpgrade python2-unboundUpgrade unbound-libsUpgrade 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 unbound-libsUpgrade unboundUpgrade unbound-develUpgrade python3-unbound | May 26, 2021 | Sep 9, 2020 |
| Redhat_linux | — | Upgrade python3-unbound-debuginfoUpgrade unbound-libs-debuginfoUpgrade unbound-debuginfoUpgrade python3-unboundUpgrade unbound-debugsourceUpgrade unbound-develNo solution existsUpgrade unbound-libsUpgrade unbound | May 21, 2021 | Dec 7, 2020 |
| Rocky_linux | — | Upgrade unbound-debugsourceUpgrade unboundUpgrade unbound-libsUpgrade python3-unboundUpgrade unbound-develUpgrade python3-unbound-debuginfoUpgrade unbound-libs-debuginfoUpgrade unbound-debuginfo | Mar 12, 2024 | Dec 7, 2020 |
| Suse | — | Upgrade nsdUpgrade unboundUpgrade unbound-pythonUpgrade libunbound2Upgrade unbound-develUpgrade unbound-muninUpgrade unbound-anchor | Dec 11, 2020 | Dec 7, 2020 |
| Ubuntu | — | Upgrade libunbound8Upgrade unboundUpgrade libunbound2 | 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