The Qualys Threat Research Unit discovered four security vulnerabilities in the , including a heap-based buffer overflow tracked as CVE-2023-6246.
GNU C Library (glibc) is a free software library that provides essential system services for Linux and other Unix-like operating systems.
The flaw resides in the glibc’s syslog function, an attacker can exploit the flaw to gain root access through a privilege escalation.
The vulnerability was introduced in glibc 2.37 in August 2022.
“We discovered a heap-based buffer overflow in the GNU C Library’s __vsyslog_internal() function, which is called by both syslog() and vsyslog().” reads the published by Qualys. “This vulnerability was introduced in glibc 2.37 (in August 2022) by the following commit: and was also backported to glibc 2.36 because this commit was a fix for another, minor vulnerability in __vsyslog_internal() (CVE-2022-39046, an “uninitialized memory [read] from the heap”).”
The researchers pointed out that the vulnerability cannot be exploited remotely. An attacker can trigger the issue by providing crafted inputs to applications that employ these logging functions.
The researchers pointed out that glibc is present in the vast majority of Linux operating system distributions. Qualys tested the vulnerability across Debian (versions 12 and 13), Ubuntu (23.04 and 23.10), and Fedora (37 to 39). Other distributions are probably also impacted.
The other issues discovered by Qualys are:
More details are available in the published by Saeed Abbasi, Product Manager, Qualys Threat Research Unit.
Follow me on Twitter: and and Mastodon
(SecurityAffairs – hacking, glibc)