CVE-2021-20254

Name
CVE-2021-20254
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.
NVD Severity
high
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://security.netapp.com/advisory/ntap-20210430-0001/
MISC https://www.samba.org/samba/security/CVE-2021-20254.html
MISC https://bugzilla.redhat.com/show_bug.cgi?id=1949442
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3EP2VJ73OVBPVSOSTVOMGIEQA3MWF6F7/
FEDORA https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZAF6L2M6CNAJ2YYYGXPWETTW5YLCWTVT/
Third Party Advisory https://security.gentoo.org/glsa/202105-22
MLIST https://lists.debian.org/debian-lts-announce/2021/05/msg00023.html

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* samba >= 3.6.0 < 4.12.15
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* samba >= 4.13.0 < 4.13.8
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* samba >= 4.14.0 < 4.14.4

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
samba 3.13-main 4.13.8-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
samba 3.12-main 4.12.15-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
samba 3.11-main 4.11.16-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable
samba 3.10-main 4.10.18-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable