CVE-2020-28935 – Local symlink attack in Unbound and NSD
https://notcve.org/view.php?id=CVE-2020-28935
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. • https://lists.debian.org/debian-lts-announce/2021/02/msg00017.html https://lists.debian.org/debian-lts-announce/2023/03/msg00024.html 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 https://access.redhat.com/security/cve/CVE-2020-28935 https://bugzilla.redhat.com/show_bug.cgi?id=1878761 • CWE-59: Improper Link Resolution Before File Access ('Link Following') •
CVE-2012-2979
https://notcve.org/view.php?id=CVE-2012-2979
FreeBSD NSD before 3.2.13 allows remote attackers to crash a NSD child server process (SIGSEGV) and cause a denial of service in the NSD server. FreeBSD NSD versiones anteriores a 3.2.13, permite a atacantes remotos bloquear un proceso de un servidor secundario NSD (SIGSEGV) y causar una denegación de servicio en el servidor NSD. • https://security-tracker.debian.org/tracker/CVE-2012-2979 https://vuxml.freebsd.org/freebsd/17f369dc-d7e7-11e1-90a2-000c299b62e1.html https://www.tenable.com/plugins/nessus/60150 • CWE-669: Incorrect Resource Transfer Between Spheres •
CVE-2019-13207
https://notcve.org/view.php?id=CVE-2019-13207
nsd-checkzone in NLnet Labs NSD 4.2.0 has a Stack-based Buffer Overflow in the dname_concatenate() function in dname.c. nsd-checkzone en NLnet Labs NSD versión 4.2.0 tiene un Desbordamiento de búfer basado en pila en la función dname_concatenate () en dname.c. • https://github.com/NLnetLabs/nsd/issues/20 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FDS4H7WVHQGCX3LF72F5K22VJXN7HDBB • CWE-787: Out-of-bounds Write •