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 group membership for a user. The highest threat from this vulnerability is to data confidentiality and integrity.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
6.8 MEDIUM
NETWORK
HIGH
LOW
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
redhatCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 70%
VendorProductVersion
sambasamba
3.6.0 ≤
𝑥
< 4.12.15
sambasamba
4.13.0 ≤
𝑥
< 4.13.8
sambasamba
4.14.0 ≤
𝑥
< 4.14.4
redhatenterprise_linux
7.0
redhatenterprise_linux
8.0
debiandebian_linux
9.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
samba
bullseye (security)
2:4.13.13+dfsg-1~deb11u6
fixed
bullseye
2:4.13.13+dfsg-1~deb11u6
fixed
buster
no-dsa
bookworm
2:4.17.12+dfsg-0+deb12u1
fixed
bookworm (security)
2:4.17.12+dfsg-0+deb12u1
fixed
sid
2:4.21.1+dfsg-2
fixed
trixie
2:4.21.1+dfsg-2
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
samba
hirsute
Fixed 2:4.13.3+dfsg-1ubuntu2.1
released
groovy
Fixed 2:4.12.5+dfsg-3ubuntu4.3
released
focal
Fixed 2:4.11.6+dfsg-0ubuntu1.8
released
bionic
Fixed 2:4.7.6+dfsg~ubuntu-0ubuntu2.23
released
xenial
Fixed 2:4.3.11+dfsg-0ubuntu0.16.04.34
released
trusty
Fixed 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm11
released