All vulnerabilities

Servers and applications

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 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…

Severity
Medium 6.8
Published
5 May 2021
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
4.12.15, 4.13.8, 4.14.4
Sources
NVD

Affected software

SoftwareAffected versions
SambaServers and applications · cpe:a:samba:samba
  • From 3.6.0 before 4.12.15
  • From 4.13.0 before 4.13.8
  • From 4.14.0 before 4.14.4

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-20254
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-20254