Heap-based buffer overflow in Glibc - CVE-2023-6246

 

Heap-based buffer overflow in Glibc - CVE-2023-6246

Published: January 31, 2024 / Updated: May 31, 2024


Vulnerability identifier: #VU85932
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Clear
CVE-ID: CVE-2023-6246
CWE-ID: CWE-122
Exploitation vector: Local access
Exploit availability: Public exploit is available
Vendor: GNU
Affected software:
Glibc

Detailed vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a boundary error within the __vsyslog_internal() function, which is called by both syslog() and vsyslog() while printing the SYSLOG_HEADER containing a long program name. A local user can pass a specially crafted input as arguments to the affected application, trigger a heap-based buffer overflow and execute arbitrary code on the system.



How to mitigate CVE-2023-6246

Install updates from vendor's website.

Sources