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 unboundUpgrade nsd | Mar 26, 2024 | Dec 7, 2020 |
| Amazon Linux Ami 2 | — | Upgrade unbound-develUpgrade unboundUpgrade python3-unboundUpgrade unbound-libsUpgrade 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-debugsourceUpgrade python3-unbound-debuginfoUpgrade unbound-libs-debuginfoUpgrade python3-unboundUpgrade unbound-develUpgrade unboundUpgrade unbound-libsUpgrade unbound-debuginfo | 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 python2-unboundUpgrade python3-unboundUpgrade unbound-libsUpgrade unbound | Feb 2, 2021 | Dec 7, 2020 |
| Huawei Euleros 2_0_sp9 | — | Upgrade unboundUpgrade unbound-libsUpgrade 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-libs-debuginfoUpgrade python3-unbound-debuginfoUpgrade unbound-debugsourceNo solution existsUpgrade unboundUpgrade unbound-debuginfoUpgrade python3-unboundUpgrade unbound-libsUpgrade unbound-devel | May 21, 2021 | Dec 7, 2020 |
| Rocky_linux | — | Upgrade python3-unbound-debuginfoUpgrade unbound-develUpgrade python3-unboundUpgrade unbound-libs-debuginfoUpgrade unbound-debuginfoUpgrade unbound-libsUpgrade unboundUpgrade unbound-debugsource | Mar 12, 2024 | Dec 7, 2020 |
| Suse | — | Upgrade nsdUpgrade unbound-anchorUpgrade unboundUpgrade unbound-develUpgrade unbound-pythonUpgrade unbound-muninUpgrade libunbound2 | 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