CVE-2021-3998
High 7.5 CVSS 3.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.
Description as published by the source, in English.
Key facts
- Published
- 2022-08-24
- Last modified
- 2026-10-14
- Assigned by
- secalert@redhat.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
1.5 %
higher than 71 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Gnu | Glibc | ≥ 2.33, < 2.35 | Affected |
| Netapp | H300s | all versions listed | Not affected |
| Netapp | H300s Firmware | all versions listed | Affected |
| Netapp | H410c | all versions listed | Not affected |
| Netapp | H410c Firmware | all versions listed | Affected |
| Netapp | H410s | all versions listed | Not affected |
| Netapp | H410s Firmware | all versions listed | Affected |
| Netapp | H500s | all versions listed | Not affected |
| Netapp | H500s Firmware | all versions listed | Affected |
| Netapp | H700s | all versions listed | Not affected |
| Netapp | H700s Firmware | all versions listed | Affected |
| Netapp | Ontap Select Deploy Administration Utility | all versions listed | Affected |
Weakness type
-
CWE-125: Out-of-bounds Read
The product reads data past the end, or before the beginning, of the intended buffer.
-
CWE-252: Unchecked Return Value
The product does not check the return value from a method or function.
References
- https://access.redhat.com/security/cve/CVE-2021-3998
- https://bugzilla.redhat.com/show_bug.cgi?id=2024633
- 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://www.openwall.com/lists/oss-security/2022/01/24/4
- https://access.redhat.com/security/cve/CVE-2021-3998
- https://bugzilla.redhat.com/show_bug.cgi?id=2024633
- 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://www.openwall.com/lists/oss-security/2022/01/24/4
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh%3D84d2d0fe20bdf94feed82b21b4d7d136d…
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh%3Dee8d5e33adb284601c00c94687bc907e1…
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh%3D84d2d0fe20bdf94feed82b21b4d7d136d…
- https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh%3Dee8d5e33adb284601c00c94687bc907e1…
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-831302.html
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.