MEDIUM · 6.8

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 beyon...

Vulnerability 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.

CVSS Score

6.8

MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE

Affected Products

VendorProductVersions
SambaSamba>= 3.6.0, < 4.12.15
FedoraprojectFedora32
RedhatEnterprise Linux7.0
DebianDebian Linux9.0

Related Weaknesses (CWE)

References

FAQ

What is CVE-2021-20254?

CVE-2021-20254 is a vulnerability with a CVSS score of 6.8 (MEDIUM). 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 beyon...

How severe is CVE-2021-20254?

CVE-2021-20254 has been rated MEDIUM with a CVSS base score of 6.8/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2021-20254?

Check the references section above for vendor advisories and patch information. Affected products include: Samba Samba, Fedoraproject Fedora, Redhat Enterprise Linux, Debian Debian Linux.