GLSA-200701-17 : libgtop: Privilege escalation
Low Nessus Plugin ID 24253
SynopsisThe remote Gentoo host is missing one or more security-related patches.
DescriptionThe remote host is affected by the vulnerability described in GLSA-200701-17 (libgtop: Privilege escalation)
Liu Qishuai discovered that glibtop_get_proc_map_s() in sysdeps/linux/procmap.c does not properly allocate memory for storing a filename, allowing certain filenames to cause the buffer to overflow on the stack.
By tricking a victim into executing an application that uses the libgtop library (e.g. libgtop_daemon or gnome-system-monitor), a local attacker could specify a specially crafted filename to be used by libgtop causing a buffer overflow and possibly execute arbitrary code with the rights of the user running the application.
There is no known workaround at this time.
SolutionAll libgtop users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=gnome-base/libgtop-2.14.6'