NetSight
medium6.8

CVE-2021-20254

A flaw was found in samba.

Impact

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 products

VendorProductAffected versions
SambaSamba
from 3.6.0 before 4.12.15
from 4.13.0 before 4.13.8
from 4.14.0 before 4.14.4
FedoraprojectFedora
Versions 32, 33
RedhatEnterprise Linux
Versions 7.0, 8.0
DebianDebian Linux
Version 9.0

Weakness classification

References