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.

Analysis

No analysis available yet

Remediation

No remediation available yet

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}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 3, 2024, 5:37 PM
Reserved
Dec 17, 2020, 12:00 AM
Status
Modified
Published
May 5, 2021, 2:15 PM
Modified
Jun 17, 2026, 3:33 AM
Severity
Moderate
Public date
Apr 29, 2021, 12:00 AM