CVE-2021-20254
JSON

6.8medium

A flaw was found in samba.

Severity
6.8medium CVSS:3.1 by NVD
Exploit likelihood
1.62% (higher than 76% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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.

Affected

Product or packageVersionsReported by
sambasamba 4.14.1, samba 4.13.6, samba 4.12.13CVE List
samba sambafrom 3.6.0 before 4.12.15, from 4.13.0 before 4.13.8, from 4.14.0 before 4.14.4NVD
fedoraproject fedora32, 33NVD
redhat enterprise_linux7.0, 8.0NVD
debian debian_linux9.0NVD

All scores

NVD6.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
NVD4.9medium CVSS:2.0AV:N/AC:M/Au:S/C:P/I:P/A:N

Classification

What each source says

CVE List

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.

NVD (es)

Se encontró un fallo en samba. El servidor de archivos smbd de Samba debe asignar Windows group identities (SIDs) a unix group ids (gids). El código que lleva a cabo esto tenía un fallo que podría permitirle leer datos más allá del final de la matriz en el caso de que se hubiera agregado una entrada de caché negativa a la caché de mapeo. Esto podría causar que el código de llamada devuelva esos valores al token de proceso que almacena la pertenencia al grupo de un usuario. La mayor amenaza de esta vulnerabilidad es la confidencialidad e integridad de los datos

References

Sources

SourceRecordLicence
CVE ListCVE-2021-20254 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-20254 changed 2026-06-17Public domain