Vulnerability · Published Jan 31, 2024 · Assigned by redhat
CVE-2023-6779Glibc: off-by-one heap-based buffer overflow in __vsyslog_internal()
High 8.2
In plain English
A high-severity heap buffer overflow in Fedora from Fedora. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.2% (higher than 88% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | glibc | 2.36-9+deb12u4 | DEBIAN-CVE-2023-6779 |
| Debian:12 | glibc | 2.36-9+deb12u4 | DSA-5611-1 |
| Debian:13 | glibc | 2.37-15 | DEBIAN-CVE-2023-6779 |
| Debian:14 | glibc | 2.37-15 | DEBIAN-CVE-2023-6779 |
| Ubuntu:24.04:LTS | glibc | 2.39-0ubuntu1 | UBUNTU-CVE-2023-6779 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | glibc | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 6 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 7 | see references |
| Red Hat | Red Hat Enterprise Linux 8 | see references |
| Red Hat | Red Hat Enterprise Linux 9 | see references |
| Fedora | Fedora | see references |
Weakness: CWE-122 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
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 vdb-entry, x_refsource_REDHAT
- RHBZ#2254395 issue-tracking, x_refsource_REDHAT
- 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