Description
An off-by-one 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 these functions are called with a message bigger than INT_MAX bytes, leading to an incorrect calculation of the buffer size to store the message, resulting in an application crash. This issue affects glibc 2.37 and newer.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
n/a glibc
2.39unaffected
Red Hat Red Hat Enterprise Linux 6
Default version status: unaffected
Red Hat Red Hat Enterprise Linux 6
Default version status: unaffected
Red Hat Red Hat Enterprise Linux 7
Default version status: unaffected
Red Hat Red Hat Enterprise Linux 7
Default version status: unaffected
Red Hat Red Hat Enterprise Linux 8
Default version status: unaffected
Red Hat Red Hat Enterprise Linux 9
Default version status: unaffected
Fedora Fedora
Default version status: affected
References
- http://packetstormsecurity.com/files/176932/glibc-syslog-Heap-Based-Buffer-Overflow.html ↗
- http://seclists.org/fulldisclosure/2024/Feb/3 ↗
- https://access.redhat.com/security/cve/CVE-2023-6779 ↗
- https://bugzilla.redhat.com/show_bug.cgi?id=2254395 ↗
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/D2FIH77VHY3KCRROCXOT6L27WMZXSJ2G/ ↗
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MWQ6BZJ6CV5UAW4VZSKJ6TO4KIW2KWAQ/ ↗
- https://security.gentoo.org/glsa/202402-01 ↗
- https://www.openwall.com/lists/oss-security/2024/01/30/6 ↗
- https://www.qualys.com/2024/01/30/cve-2023-6246/syslog.txt ↗
- https://security.netapp.com/advisory/ntap-20240223-0006/ ↗
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html ↗