vulnerability
Samba CVE-2021-20254: Negative idmap cache entries can cause incorrect group entries in the Samba file server process token.
| Severity | CVSS | Published | Added | Modified |
|---|---|---|---|---|
| 5 | (AV:N/AC:M/Au:S/C:P/I:P/A:N) | May 5, 2021 | Jun 11, 2021 | Aug 11, 2025 |
Severity
5
CVSS
(AV:N/AC:M/Au:S/C:P/I:P/A:N)
Published
May 5, 2021
Added
Jun 11, 2021
Modified
Aug 11, 2025
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.
Solutions
samba-upgrade-4_12_15samba-upgrade-4_13_8samba-upgrade-4_14_4
NEW
Explore Exposure Command
Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.