Inclusion of Sensitive Information in Log Files in GNU C Library (glibc) - CVE-2022-39046

 

Inclusion of Sensitive Information in Log Files in GNU C Library (glibc) - CVE-2022-39046

Published: January 31, 2024


Vulnerability identifier: #VU85931
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-39046
CWE-ID: CWE-532
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to gain access to sensitive information.

The vulnerability exists due to the software can store potentially sensitive data into a log file. When the syslog() function is passed a crafted input string larger than 1024 bytes, it reads uninitialized memory from the heap and prints it to the target log file, potentially revealing a portion of the contents of the heap.


Affected software

GNU C Library (glibc)
Gentoo Linux
sys-libs/glibc

How to mitigate CVE-2022-39046

Install updates from vendor's website.

sys-libs/glibc - update to 2.37-r7

External References

Related Security Bulletins