CVE-2021-44142

published 21 Feb 2022 · updated 23 Apr 2025

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.

9.8CriticalCVSS 8.8EPSS 74%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 74%. Fixed in Samba 4.13.17, Samba 4.14.12 and Samba 4.15.5.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
SambaSamba<4.13.17, <4.14.12, <4.15.54.13.17, 4.14.12, 4.15.5

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Samba, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-44142 severity on Zeptric[![CVE-2021-44142](https://zeptric.io/badge/cve/CVE-2021-44142.svg)](https://zeptric.io/cve/CVE-2021-44142)