CVE-2020-29573

MEDIUM

Description

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.

References

https://security.gentoo.org/glsa/202101-20

https://security.netapp.com/advisory/ntap-20210122-0004/

https://sourceware.org/bugzilla/show_bug.cgi?id=26649

https://sourceware.org/pipermail/libc-alpha/2020-September/117779.html

Details

Source: MITRE

Published: 2020-12-06

Updated: 2021-01-26

Type: CWE-787

Risk Information

CVSS v2.0

Base Score: 5

Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P

Impact Score: 2.9

Exploitability Score: 10

Severity: MEDIUM

CVSS v3.0

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Impact Score: 3.6

Exploitability Score: 3.9

Severity: HIGH

Tenable Plugins

View all (16 total)

IDNameProductFamilySeverity
148524SUSE SLES12 Security Update : glibc (SUSE-SU-2021:1165-1)NessusSuSE Local Security Checks
medium
147681EulerOS : glibc (EulerOS-SA-2021-1643)NessusHuawei Local Security Checks
medium
147594EulerOS : glibc (EulerOS-SA-2021-1600)NessusHuawei Local Security Checks
medium
147455EulerOS Virtualization for ARM 64 3.0.2.0 : glibc (EulerOS-SA-2021-1382)NessusHuawei Local Security Checks
high
147065EulerOS Virtualization for ARM 64 3.0.6.0 : glibc (EulerOS-SA-2021-1537)NessusHuawei Local Security Checks
high
146916openSUSE Security Update : glibc (openSUSE-2021-358)NessusSuSE Local Security Checks
high
146903SUSE SLED15 / SLES15 Security Update : glibc (SUSE-SU-2021:0653-1)NessusSuSE Local Security Checks
high
146101Oracle Linux 7 : glibc (ELSA-2021-0348)NessusOracle Linux Local Security Checks
high
146097CentOS 7 : glibc (CESA-2021:0348)NessusCentOS Local Security Checks
high
146081RHEL 7 : glibc (RHSA-2021:0348)NessusRed Hat Local Security Checks
high
146062Scientific Linux Security Update : glibc on SL7.x i686/x86_64 (2021:0348)NessusScientific Linux Local Security Checks
high
145715EulerOS 2.0 SP8 : glibc (EulerOS-SA-2021-1142)NessusHuawei Local Security Checks
high
145333GLSA-202101-20 : glibc: Multiple vulnerabilitiesNessusGentoo Local Security Checks
medium
144896Photon OS 1.0: Glibc PHSA-2021-1.0-0353NessusPhotonOS Local Security Checks
medium
144695EulerOS 2.0 SP9 : glibc (EulerOS-SA-2021-1024)NessusHuawei Local Security Checks
medium
144685EulerOS : glibc (EulerOS-SA-2021-1005)NessusHuawei Local Security Checks
medium