{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-20254","published":"2021-05-05T14:15:07.883000Z","last_modified":"2026-06-17T03:33:33.100000Z","status":"Modified","cvss":{"version":"3.1","score":6.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-125"],"cpes":[{"criteria":"cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*","part":"a","vendor":"samba","product":"samba","version_start_including":"3.6.0","version_end_excluding":"4.12.15"},{"criteria":"cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*","part":"a","vendor":"samba","product":"samba","version_start_including":"4.13.0","version_end_excluding":"4.13.8"},{"criteria":"cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*","part":"a","vendor":"samba","product":"samba","version_start_including":"4.14.0","version_end_excluding":"4.14.4"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"32"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"33"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux","version":"7.0"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux","version":"8.0"},{"criteria":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"9.0"}],"cpes_truncated":false,"vendors":["samba","fedoraproject","redhat","debian"],"products":["samba/samba","fedoraproject/fedora","redhat/enterprise_linux","debian/debian_linux"],"epss":{"score":0.01616,"percentile":0.76426,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"server","platform":"linux","eol":false,"packages":[],"severity":"medium","priority_score":41,"links":{"html_es":"/es/cve/CVE-2021-20254/","html_en":"/en/cve/CVE-2021-20254/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-20254","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-20254"},"untrusted":{"vendor_name":"Samba","product_name":"Samba","desc_en":"A flaw was found in samba. The Samba smbd file server must map Windows group identities (SIDs) into unix group ids (gids). The code that performs this had a flaw that could allow it to read data beyond the end of the array in the case where a negative cache entry had been added to the mapping cache. This could cause the calling code to return those values into the process token that stores the group membership for a user. The highest threat from this vulnerability is to data confidentiality and integrity.","affected":[],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1949442","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00023.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3EP2VJ73OVBPVSOSTVOMGIEQA3MWF6F7/","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZAF6L2M6CNAJ2YYYGXPWETTW5YLCWTVT/","tags":[]},{"url":"https://security.gentoo.org/glsa/202105-22","tags":["Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20210430-0001/","tags":["Third Party Advisory"]},{"url":"https://www.samba.org/samba/security/CVE-2021-20254.html","tags":["Vendor Advisory"]}]}}