CVE-2023-6246 Glibc: heap-based buffer overflow in __vsyslog_internal()
A heap-based buffer overflow in glibc's syslog function allows local attackers to cause crashes or escalate privileges.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-6246?
CVE-2023-6246 is a high-severity memory corruption vulnerability in Fedoraproject Fedora, published on 31 Jan 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A heap-based buffer overflow was found in the __vsyslog_internal function of the glibc library. This function is called by the syslog and vsyslog functions. This issue occurs when the openlog function was not called, or called with the ident argument set to NULL, and the program name (the basename of argv[0]) is bigger than 1024 bytes, resulting in an application crash or local privilege escalation. This issue affects glibc 2.36 and newer.
Which versions are affected by CVE-2023-6246?
It affects 2 products.
Linux distribution packages (1)
glibc openSUSE:Tumbleweed | All versions | 2.39-1.2 |
Products include Fedoraproject Fedora, Gnu Glibc.
How do I fix CVE-2023-6246?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2023-6246 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-6246 exists.
Public exploit code: 2 proofs of concept on GitHub.
Other vulnerabilities in Fedoraproject Fedora
Sources
Also known as AZL-34735, BELL-CVE-2023-6246, DEBIAN-CVE-2023-6246, GHSA-p6rw-gvvh-q8v4, UBUNTU-CVE-2023-6246, openSUSE-SU-2024:13647-1.