Executive brief
A security vulnerability has been identified in the GNU C Library (glibc), a core component of almost all Linux-based operating systems. This flaw allows a local user to gain full administrative (root) privileges by exploiting how the system handles certain environment variables when starting programs. An attacker with basic access to a system could use this to take complete control of the machine, potentially leading to data theft or persistent unauthorized access.
Technical details
A buffer overflow vulnerability (CWE-787/CWE-122) exists in the GNU C Library (glibc) dynamic loader, ld.so, specifically within the processing of the GLIBC_TUNABLES environment variable. When parsing malformed tunables, the loader can miscalculate the required buffer size, leading to a heap-based buffer overflow. A local attacker can exploit this by executing SUID-privileged binaries with a specially crafted GLIBC_TUNABLES string to overwrite memory and achieve arbitrary code execution with root privileges. The vulnerability is reachable without user interaction and has been confirmed to affect major Linux distributions including Red Hat Enterprise Linux, Debian, and Fedora. Patches are available from major vendors.
Affected products
- GNU glibc All versions including 2.34 through 2.37
- Red Hat Enterprise Linux 8.0
- Red Hat Enterprise Linux 9.0
- Debian Debian GNU/Linux
- Fedora Project Fedora
Timeline
- 2023-10-03: disclosed: Vulnerability disclosed by Qualys Research Team
- 2023-10-03: advisory: Initial NVD publication
- 2023-10-05: patched: Red Hat released security updates (RHSA-2023:5453)
- 2023-11-21: kev added: CISA added to Known Exploited Vulnerabilities catalog
References
- https://access.redhat.com/errata/RHSA-2023:5453
- https://access.redhat.com/errata/RHSA-2023:5454
- https://access.redhat.com/errata/RHSA-2023:5455
- https://access.redhat.com/errata/RHSA-2023:5476
- https://access.redhat.com/errata/RHSA-2024:0033
- https://access.redhat.com/security/cve/CVE-2023-4911
- https://bugzilla.redhat.com/show_bug.cgi?id=2238352