CVE-2020-29573: Buffer Overflow
GNU C Library is vulnerable to a stack-based buffer overflow, caused by not handling non-normal x86 long double numbers gracefully for printf family functions. By sending a specially crafted value to the functions, a local attacker could overflow a buffer and execute arbitrary code on the system or cause the application to crash.
Other sources
sysdeps/i386/ldbl2mpn.c in the GNU C Library (aka glibc or libc6) before 2.23 on x86 targets has a stack-based buffer overflow if the input to any of the printf family of functions is an 80-bit long double with a non-canonical bit pattern, as seen when passing a \x00\x04\x00\x00\x00\x00\x00\x00\x00\x04 value to sprintf. NOTE: the issue does not affect glibc by default in 2016 or later (i.e., 2.23 or later) because of commits made in 2015 for inlining of C99 math functions through use of GCC built-ins. In other words, the reference to 2.23 is intentional despite the mention of "Fixed for glibc 2.33" in the 26649 reference.
Affected Software
Remediation
Patch Available
Event History
Frequently Asked Questions
What is CVE-2020-29573?
CVE-2020-29573 is a vulnerability in the GNU C Library (glibc) that allows for a stack-based buffer overflow.
How does CVE-2020-29573 occur?
CVE-2020-29573 occurs due to the GNU C Library's failure to handle non-normal x86 long double inputs properly, leading to the buffer overflow vulnerability.
What is the severity level of CVE-2020-29573?
CVE-2020-29573 has a severity level of 7.5, which is considered high.
Which software versions are affected by CVE-2020-29573?
CVE-2020-29573 affects GNU C Library (glibc) versions up to and excluding 2.23, Red Hat Enterprise Linux 7.0, NetApp Cloud Backup, and NetApp SolidFire Baseboard Management Controller. It also affects IBM Cloud Pak for Security (CP4S) versions up to and including 1.7.2.0, 1.7.1.0, and 1.7.0.0.
How can I fix CVE-2020-29573?
To fix CVE-2020-29573, you should update affected software to a version that includes the necessary security patches. Refer to the vendor's advisories and security resources for specific guidance.