Live threats

All CVEs / Samba

CVE-2021-20254Samba

Medium 6.8

Priority
41
CVSS 3.1
6.8
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
Yes
Published
May 5, 2021
Updated
Jun 17, 2026
Category
Server · Linux
Weakness (CWE)
CWE-125
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Samba.

Affected products (CPE)

VendorProductVersions
sambasamba≥ 3.6.0 < 4.12.15
sambasamba≥ 4.13.0 < 4.13.8
sambasamba≥ 4.14.0 < 4.14.4
fedoraprojectfedora32
fedoraprojectfedora33
redhatenterprise_linux7.0
redhatenterprise_linux8.0
debiandebian_linux9.0

Official sources

References

Links published by the sources. Open them with care.