{"id":"CVE-2021-3998","state":"PUBLISHED","title":"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":"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.","publishedAt":"2022-08-24T00:00:00.000Z","updatedAt":"2026-10-14T09:54:24.028Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"CISA-ADP"},"assigner":"redhat","products":["n/a glibc"],"affected":[{"vendor":"n/a","product":"glibc","versions":[{"version":"Affects glibc v2.33 and above.","status":"affected"}]}],"references":["https://www.openwall.com/lists/oss-security/2022/01/24/4","https://sourceware.org/bugzilla/show_bug.cgi?id=28770","https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=ee8d5e33adb284601c00c94687bc907e10aec9bb","https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=84d2d0fe20bdf94feed82b21b4d7d136db471f03","https://bugzilla.redhat.com/show_bug.cgi?id=2024633","https://access.redhat.com/security/cve/CVE-2021-3998","https://security-tracker.debian.org/tracker/CVE-2021-3998","https://security.netapp.com/advisory/ntap-20221020-0003/","https://cert-portal.siemens.com/productcert/html/ssa-831302.html","https://cert-portal.siemens.com/productcert/html/ssa-398330.html"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T19:48:55.807Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/3xxx/CVE-2021-3998.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2021-3998","state":"PUBLISHED","datePublished":"2022-08-24T00:00:00.000Z","dateUpdated":"2026-10-14T09:54:24.028Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2021-11-22T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"glibc","versions":[{"version":"Affects glibc v2.33 and above.","status":"affected"}]}],"references":[{"url":"https://www.openwall.com/lists/oss-security/2022/01/24/4"},{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=28770"},{"url":"https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=ee8d5e33adb284601c00c94687bc907e10aec9bb"},{"url":"https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=84d2d0fe20bdf94feed82b21b4d7d136db471f03"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2024633"},{"url":"https://access.redhat.com/security/cve/CVE-2021-3998"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-3998"},{"url":"https://security.netapp.com/advisory/ntap-20221020-0003/"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","type":"CWE","lang":"en","description":"CWE-125 - Out-of-bounds Read"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2022-10-20T00:00:00.000Z"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.openwall.com/lists/oss-security/2022/01/24/4","tags":["x_transferred"]},{"url":"https://sourceware.org/bugzilla/show_bug.cgi?id=28770","tags":["x_transferred"]},{"url":"https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=ee8d5e33adb284601c00c94687bc907e10aec9bb","tags":["x_transferred"]},{"url":"https://sourceware.org/git/gitweb.cgi?p=glibc.git%3Bh=84d2d0fe20bdf94feed82b21b4d7d136db471f03","tags":["x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2024633","tags":["x_transferred"]},{"url":"https://access.redhat.com/security/cve/CVE-2021-3998","tags":["x_transferred"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-3998","tags":["x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20221020-0003/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T17:16:03.378Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-06-09T14:59:39.057370Z","id":"CVE-2021-3998","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-09T15:00:17.349Z"}},{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-831302.html"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-14T09:54:24.028Z"},"x_adpType":"supplier"}]}}}