#VU52748 Out-of-bounds read in Samba - CVE-2021-20254

 

#VU52748 Out-of-bounds read in Samba - CVE-2021-20254

Published: April 29, 2021 / Updated: July 27, 2022


Vulnerability identifier: #VU52748
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:A/AC:L/AT:P/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2021-20254
CWE-ID: CWE-125
Exploitation vector: Adjecent network
Exploit availability: No public exploit available
Vulnerable software:
Samba
Software vendor:
Samba

Description

The vulnerability allows a remote user to gain access to potentially sensitive information.

The vulnerability exists due to a boundary condition when mapping Windows group identities (SIDs) into unix group identities (gids), which resulted into negative idmap cache entries created in the Samba server process token. An attacker who can manage to trigger the vulnerability can crash the Samba server or potentially perform unauthorized actions on the system.


Remediation

Install updates from vendor's website.

External links