Out-of-bounds Read in Samba
CVE-2021-20254
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.016, 76.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Samba
- Debian Linux — versions 9.0
- Fedoraproject Fedora — versions 32, 33
- Red Hat Enterprise Linux — versions 7.0, 8.0
- Samba — versions samba 4.14.1, samba 4.13.6, samba 4.12.13
Weakness classification (CWE)
References
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- www.samba.org/samba/security/CVE-2021-20254.html (Vendor Advisory)
- security.netapp.com/advisory/ntap-20210430-0001/ (Third Party Advisory)
- FEDORA-2021-1d0807008b (vendor-advisory)
- FEDORA-2021-7026246ea9 (vendor-advisory)
- GLSA-202105-22 (vendor-advisory, Third Party Advisory)
- [debian-lts-announce] 20210529 [SECURITY] [DLA 2668-1] samba security update (mailing-list, Mailing List, Third Party Advisory)