← Database

CVE-2021-44142

HIGH CVSS: 8.8 Published: 2022-02-21 Modified: 2026-06-17

Description

The Samba vfs_fruit module uses extended file attributes (EA, xattr) to provide "...enhanced compatibility with Apple SMB clients and interoperability with a Netatalk 3 AFP fileserver." Samba versions prior to 4.13.17, 4.14.12 and 4.15.5 with vfs_fruit configured allow out-of-bounds heap read and write via specially crafted extended file attributes. A remote attacker with write access to extended file attributes can execute arbitrary code with the privileges of smbd, typically root.

Affected Platforms

Canonical Ubuntu LinuxRedhat Virtualization HostRedhat Enterprise Linux ServerRedhat Enterprise Linux For Ibm Z Systems EusDebian Debian LinuxRedhat Enterprise Linux EusRedhat Enterprise Linux Server TusSamba SambaRedhat Enterprise LinuxRedhat Enterprise Linux For Power Little Endian

Weakness Type

CWE-125, CWE-787, CWE-125, CWE-787

References