Glibc: heap-based buffer overflow in __vsyslog_internal()
glibc · Red Hat Enterprise Linux 6 · Red Hat Enterprise Linux 7 · Red Hat Enterprise Linux 8
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| glibc | — |
|
| Red Hat Red Hat Enterprise Linux 6 | — | No fix yet |
| Red Hat Red Hat Enterprise Linux 6 | — | No fix yet |
| Red Hat Red Hat Enterprise Linux 7 | — | No fix yet |
| Red Hat Red Hat Enterprise Linux 7 | — | No fix yet |
| Red Hat Red Hat Enterprise Linux 8 | — | No fix yet |
| Red Hat Red Hat Enterprise Linux 9 | — | No fix yet |
| Fedora Fedora | — | No fix yet |
Original 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.
From the CVE record · redhat
References
- packetstormsecurity.com/files/176931/glibc-qsort-Out-Of-Bounds-Read-Write.htmlExploit
- packetstormsecurity.com/files/176932/glibc-syslog-Heap-Based-Buffer-Overflow.htmlExploit
- seclists.org/fulldisclosure/2024/Feb/3Exploit
- seclists.org/fulldisclosure/2024/Feb/5Exploit
- access.redhat.com/security/cve/CVE-2023-6246Advisory
- bugzilla.redhat.com/show_bug.cgi?id=2249053Issue tracker
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D2FIH77VHY3KCRROCXOT6L27WMZXSJ2G
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MWQ6BZJ6CV5UAW4VZSKJ6TO4KIW2KWAQ
- security.gentoo.org/glsa/202402-01Advisory
- openwall.com/lists/oss-security/2024/01/30/6Exploit
- qualys.com/2024/01/30/cve-2023-6246/syslog.txtExploit
- security.netapp.com/advisory/ntap-20240216-0007