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 package | Versions | Reported by |
|---|---|---|
| samba | samba 4.14.1, samba 4.13.6, samba 4.12.13 | CVE List |
| 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 | NVD |
| fedoraproject fedora | 32, 33 | NVD |
| redhat enterprise_linux | 7.0, 8.0 | NVD |
| debian debian_linux | 9.0 | NVD |
All scores
| NVD | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | 4.9medium CVSS:2.0 | AV: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
| https://bugzilla.redhat.com/show_bug.cgi?id=1949442 | issue-tracking, third-party-advisory | |
| https://www.samba.org/samba/security/CVE-2021-20254.html | vendor-advisory | |
| https://security.netapp.com/advisory/ntap-20210430-0001/ | third-party-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3EP2VJ73OVBPVSOSTVOMGIEQA3MWF6F7/ | vendor-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZAF6L2M6CNAJ2YYYGXPWETTW5YLCWTVT/ | vendor-advisory | |
| https://security.gentoo.org/glsa/202105-22 | third-party-advisory, vendor-advisory | |
| https://lists.debian.org/debian-lts-announce/2021/05/msg00023.html | mailing-list, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-20254 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-20254 changed 2026-06-17 | Public domain |