{"id":"CVE-2021-20254","state":"PUBLISHED","title":"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 i","description":"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.","publishedAt":"2021-05-05T13:36:32.000Z","updatedAt":"2024-08-03T17:37:23.017Z","severity":null,"assigner":"redhat","products":["n/a samba"],"affected":[{"vendor":"n/a","product":"samba","versions":[{"version":"samba 4.14.1, samba 4.13.6, samba 4.12.13","status":"affected"}]}],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=1949442","https://www.samba.org/samba/security/CVE-2021-20254.html","https://security.netapp.com/advisory/ntap-20210430-0001/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3EP2VJ73OVBPVSOSTVOMGIEQA3MWF6F7/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZAF6L2M6CNAJ2YYYGXPWETTW5YLCWTVT/","https://security.gentoo.org/glsa/202105-22","https://lists.debian.org/debian-lts-announce/2021/05/msg00023.html"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T19:47:55.610Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/20xxx/CVE-2021-20254.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-20254","state":"PUBLISHED","datePublished":"2021-05-05T13:36:32.000Z","dateUpdated":"2024-08-03T17:37:23.017Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2020-12-17T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"samba","versions":[{"version":"samba 4.14.1, samba 4.13.6, samba 4.12.13","status":"affected"}]}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1949442","tags":["x_refsource_MISC"]},{"url":"https://www.samba.org/samba/security/CVE-2021-20254.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20210430-0001/","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3EP2VJ73OVBPVSOSTVOMGIEQA3MWF6F7/","name":"FEDORA-2021-1d0807008b","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZAF6L2M6CNAJ2YYYGXPWETTW5YLCWTVT/","name":"FEDORA-2021-7026246ea9","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://security.gentoo.org/glsa/202105-22","name":"GLSA-202105-22","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00023.html","name":"[debian-lts-announce] 20210529 [SECURITY] [DLA 2668-1] samba security update","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","description":"CWE-125","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2021-05-29T12:06:12.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2021-20254","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"samba","version":{"version_data":[{"version_value":"samba 4.14.1, samba 4.13.6, samba 4.12.13"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-125"}]}]},"references":{"reference_data":[{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1949442","refsource":"MISC","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1949442"},{"name":"https://www.samba.org/samba/security/CVE-2021-20254.html","refsource":"MISC","url":"https://www.samba.org/samba/security/CVE-2021-20254.html"},{"name":"https://security.netapp.com/advisory/ntap-20210430-0001/","refsource":"MISC","url":"https://security.netapp.com/advisory/ntap-20210430-0001/"},{"name":"FEDORA-2021-1d0807008b","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3EP2VJ73OVBPVSOSTVOMGIEQA3MWF6F7/"},{"name":"FEDORA-2021-7026246ea9","refsource":"FEDORA","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZAF6L2M6CNAJ2YYYGXPWETTW5YLCWTVT/"},{"name":"GLSA-202105-22","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202105-22"},{"name":"[debian-lts-announce] 20210529 [SECURITY] [DLA 2668-1] samba security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00023.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1949442","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.samba.org/samba/security/CVE-2021-20254.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20210430-0001/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3EP2VJ73OVBPVSOSTVOMGIEQA3MWF6F7/","name":"FEDORA-2021-1d0807008b","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZAF6L2M6CNAJ2YYYGXPWETTW5YLCWTVT/","name":"FEDORA-2021-7026246ea9","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202105-22","name":"GLSA-202105-22","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00023.html","name":"[debian-lts-announce] 20210529 [SECURITY] [DLA 2668-1] samba security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T17:37:23.017Z"}}]}}}