CVE-2021-3998
published high CVSS 3.1 · 7.5glibc: Unexpected return value from realpath() could leak data based on the application
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | glibcAffects glibc v2.33 and above. | Affected | Not stated | redhat |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibcaarch64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibcppc64le | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
Show 48 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibcs390x | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibcx86_64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-develaarch64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-develppc64le | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-devels390x | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-develx86_64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-devel-staticaarch64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-devel-staticppc64le | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-devel-statics390x | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-devel-staticx86_64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-extraaarch64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-extrappc64le | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-extras390x | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-extrax86_64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-htmlaarch64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-htmlppc64le | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-htmls390x | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-htmlx86_64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-i18ndataaarch64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-i18ndatappc64le | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-i18ndatas390x | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-i18ndatax86_64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-infoaarch64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-infoppc64le | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-infos390x | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-infox86_64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-langaarch64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-langppc64le | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-langs390x | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-langx86_64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-localeaarch64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-localeppc64le | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-locales390x | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-localex86_64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-locale-baseaarch64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-locale-baseppc64le | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-locale-bases390x | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-locale-basex86_64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-profileaarch64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-profileppc64le | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-profiles390x | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | glibc-profilex86_64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nscdaarch64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nscdppc64le | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nscds390x | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | nscdx86_64 | Advisory build | 2.35-1.1 | OPENSUSE-SU-2024:11850-1 |
Description
A flaw was found in glibc. The realpath() function can mistakenly return an unexpected value, potentially leading to information leakage and disclosure of sensitive data.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | glibc | Affects glibc v2.33 and above. (affected) | redhat · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- CWE-125 CWE-125 - Out-of-bounds Read
References
10- https://access.redhat.com/security/cve/CVE-2021-3998
- https://bugzilla.redhat.com/show_bug.cgi?id=2024633
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-831302.html
- https://security-tracker.debian.org/tracker/CVE-2021-3998
- https://security.netapp.com/advisory/ntap-20221020-0003/
- https://sourceware.org/bugzilla/show_bug.cgi?id=28770
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=84d2d0fe20bdf94feed82b21b4d7d136db471f03
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=ee8d5e33adb284601c00c94687bc907e10aec9bb
- https://www.openwall.com/lists/oss-security/2022/01/24/4
Provider assertions
4redhat · cna
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3b1ccd7b95d002bb04325d2e94ed7316b547018e7197d6342a6f8b698602a0c0
- Ingested
- 14 Oct 2026, 14:23:10 UTC
- Source record
- Official CVE record