CVE-2021-20254Samba
Medium 6.8
Follow: this CVE · Samba · Samba We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Samba.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| samba | samba | ≥ 3.6.0 < 4.12.15 |
| samba | samba | ≥ 4.13.0 < 4.13.8 |
| samba | samba | ≥ 4.14.0 < 4.14.4 |
| fedoraproject | fedora | 32 |
| fedoraproject | fedora | 33 |
| redhat | enterprise_linux | 7.0 |
| redhat | enterprise_linux | 8.0 |
| debian | debian_linux | 9.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory
- www.samba.org Vendor Advisory