Memory leak in GNU C Library (glibc) - CVE-2021-3998

 

Memory leak in GNU C Library (glibc) - CVE-2021-3998

Published: March 14, 2022


Vulnerability identifier: #VU61292
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-3998
CWE-ID: CWE-401
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due memory leak in glibc realpath() function. A remote attacker can force the application to leak memory and perform denial of service attack or gain access to sensitive information.


Affected software

GNU C Library (glibc)
SIMATIC S7-1500 TM MFP - BIOS
Gentoo Linux
Ubuntu
Fedora
cflinuxfs3
Cloud Pak for Network Automation
Watson Studio on Cloud Pak for Data - Execution Engine for Apache Hadoop
libc6 (Ubuntu package)
glibc
sys-libs/glibc
IBM Cloud Transformation Advisor
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data

How to mitigate CVE-2021-3998

Install updates from vendor's website.

GNU C Library (glibc) - addressed in versions 2.35, 2.35.9000
cflinuxfs3 - update to 0.275.0
Cloud Pak for Network Automation - update to 2.6.4
libc6 (Ubuntu package) - addressed in versions 2.27-3ubuntu1.5, 2.31-0ubuntu9.7, 2.34-0ubuntu3.2
glibc - addressed in versions 2.33-21.fc34, 2.34-21.fc35
sys-libs/glibc - update to 2.34
IBM Cloud Transformation Advisor - update to 3.10.0
IBM Watson Speech Services Cartridge for IBM Cloud Pak for Data - update to 4.8.5
Watson Studio on Cloud Pak for Data - Execution Engine for Apache Hadoop - update to 5.0.3

External References

Related Security Bulletins