CVE-2021-3998

NameCVE-2021-3998
DescriptionA flaw was found in glibc. The realpath() function can mistakenly return an unexpected value, potentially leading to information leakage and disclosure of sensitive data.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
glibc (PTS)buster2.28-10+deb10u1fixed
buster (security)2.28-10+deb10u2fixed
bullseye2.31-13+deb11u4fixed
bookworm, sid2.36-6fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
glibcsourcestretch(not affected)
glibcsourcebuster(not affected)
glibcsourcebullseye(not affected)
glibcsource(unstable)2.33-4

Notes

[bullseye] - glibc <not-affected> (Vulnerable code introduced later)
[buster] - glibc <not-affected> (Vulnerable code introduced later)
[stretch] - glibc <not-affected> (Vulnerable code introduced later)
https://sourceware.org/bugzilla/show_bug.cgi?id=28770
https://patchwork.sourceware.org/project/glibc/patch/20220113055920.3155918-1-siddhesh@sourceware.org/
https://www.openwall.com/lists/oss-security/2022/01/24/4
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ee8d5e33adb284601c00c94687bc907e10aec9bb
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f7a79879c0b2bef0dadd6caaaeeb0d26423e04e5
introduced in 2.33 by: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=c6e0b0b5b0b7922cdf0dce2af671e0c7e500df95

Search for package or bug name: Reporting problems