CVE-2021-20254

samba: Negative idmap cache entries can cause incorrect group entries in the Samba file server process token

Published May 5, 2021 CVSS 3.1 · 6.8 Medium EPSS 1.6% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2668-1 samba security update
EUVD EUVD EUVD-2021-7692 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.
Ubuntu USN Ubuntu USN USN-4930-1 Samba vulnerability
Ubuntu USN Ubuntu USN USN-4931-1 Samba vulnerabilities
History
Type Values Removed Values Added
Metrics epss

{'score': 0.00314}

epss

{'score': 0.00341}