← back
CVE-2023-4911

Glibc: buffer overflow in ld.so leading to privilege escalation

CVSS 7.8 HIGHEPSS 78.6%● KEVCWE-122
In short

A flaw in Linux's core library allows attackers to overflow a buffer by setting a special environment variable, potentially letting them run malicious code with administrator rights on vulnerable systems.

Technical detail

A buffer overflow exists in glibc's ld.so dynamic loader during GLIBC_TUNABLES environment variable parsing. Local attackers can exploit this via crafted environment variables on SUID binaries to achieve arbitrary code execution with elevated privileges; exploitation requires local access and presence of a vulnerable SUID binary.

Summary generated and translated by AI from the official description.
A buffer overflow was discovered in the GNU C Library's dynamic loader ld.so while processing the GLIBC_TUNABLES environment variable. This issue could allow a local attacker to use maliciously crafted GLIBC_TUNABLES environment variables when launching binaries with SUID permission to execute code with elevated privileges.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →