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 python3-unboundUpgrade unbound-develUpgrade unboundUpgrade unbound-libs | 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 unboundUpgrade unbound-develUpgrade python3-unboundUpgrade unbound-debuginfoUpgrade unbound-libsUpgrade unbound-debugsourceUpgrade python3-unbound-debuginfoUpgrade unbound-libs-debuginfo | 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 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 unbound-libsUpgrade unbound | 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 python3-unboundUpgrade unboundUpgrade unbound-libs | Jan 5, 2021 | Dec 7, 2020 |
| Oracle_linux | — | Upgrade python3-unboundUpgrade unboundUpgrade unbound-develUpgrade unbound-libs | May 26, 2021 | Sep 9, 2020 |
| Redhat_linux | — | Upgrade unbound-libsUpgrade unbound-debuginfoUpgrade unbound-debugsourceUpgrade unboundNo solution existsUpgrade python3-unboundUpgrade unbound-develUpgrade unbound-libs-debuginfoUpgrade python3-unbound-debuginfo | May 21, 2021 | Dec 7, 2020 |
| Rocky_linux | — | Upgrade unbound-libs-debuginfoUpgrade unbound-develUpgrade python3-unboundUpgrade python3-unbound-debuginfoUpgrade unbound-debuginfoUpgrade unboundUpgrade unbound-debugsourceUpgrade unbound-libs | Mar 12, 2024 | Dec 7, 2020 |
| Suse | — | Upgrade nsdUpgrade unbound-develUpgrade unbound-anchorUpgrade unbound-pythonUpgrade unbound-muninUpgrade unboundUpgrade libunbound2 | Dec 11, 2020 | Dec 7, 2020 |
| Ubuntu | — | Upgrade unboundUpgrade libunbound2Upgrade libunbound8 | 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