CVEvulnerability
CVE-2021-20254
6.8 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-05-05
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.8 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- CVSS 2.0 ([email protected])
- 4.9 MEDIUM — AV:N/AC:M/Au:S/C:P/I:P/A:N
- Weaknesses
- CWE-125
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.
Affected configurations
• samba samba (>= 3.6.0 < 4.12.15)
• samba samba (>= 4.13.0 < 4.13.8)
• samba samba (>= 4.14.0 < 4.14.4)
• fedoraproject fedora 32
• fedoraproject fedora 33
• redhat enterprise linux 7.0
• redhat enterprise linux 8.0
• debian debian linux 9.0
Related
Weakness · CWE (1)
- CWE-125 Out-of-bounds Read weakness
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1949442 Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/05/msg00023.html Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3EP2VJ73OVBPVSOSTVOMGIEQA3MWF6F7/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZAF6L2M6CNAJ2YYYGXPWETTW5YLCWTVT/ lists.fedoraproject.org
- https://security.gentoo.org/glsa/202105-22 Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210430-0001/ Third Party Advisory
- https://www.samba.org/samba/security/CVE-2021-20254.html Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1949442 Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/05/msg00023.html Mailing List, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3EP2VJ73OVBPVSOSTVOMGIEQA3MWF6F7/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZAF6L2M6CNAJ2YYYGXPWETTW5YLCWTVT/ lists.fedoraproject.org
- https://security.gentoo.org/glsa/202105-22 Third Party Advisory
- https://security.netapp.com/advisory/ntap-20210430-0001/ Third Party Advisory
- https://www.samba.org/samba/security/CVE-2021-20254.html Vendor Advisory