#VU60186 Out-of-bounds write in Samba - CVE-2021-44142

 

#VU60186 Out-of-bounds write in Samba - CVE-2021-44142

Published: January 31, 2022 / Updated: September 22, 2022


Vulnerability identifier: #VU60186
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P/U:Amber
CVE-ID: CVE-2021-44142
CWE-ID: CWE-787
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vulnerable software:
Samba
Software vendor:
Samba

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing EA metadata while opening files in smbd within the VFS Samba module (vfs_fruit). A remote attacker with ability to write to file's extended attributes can trigger an out-of-bounds write and execute arbitrary code with root privileges.

Note, the vulnerability in vfs_fruit exists in the default configuration of the fruit VFS module using fruit:metadata=netatalk or fruit:resource=file.


Remediation

Install updates from vendor's website.

External links