NetSight
high8.8

CVE-2021-44142

The Samba vfs_fruit module uses extended file attributes (EA, xattr) to provide "...enhanced compatibility with Apple SMB clients and interoperability with a N…

Impact

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 products

VendorProductAffected versions
SambaSamba
before 4.13.17
from 4.14.0 before 4.14.12
from 4.15.0 before 4.15.5
DebianDebian Linux
Versions 10.0, 11.0
CanonicalUbuntu Linux
Versions 14.04, 16.04, 18.04, 20.04, 21.10
SynologyDiskstation Manager
from 6.2 before 6.2.4-25556.4
FedoraprojectFedora
Versions 34, 35
RedhatCodeready Linux Builder
All versions
RedhatGluster Storage
Version 3.5
RedhatVirtualization Host
Version 4.0
RedhatEnterprise Linux
Versions 7.0, 8.0
RedhatEnterprise Linux Desktop
Version 7.0
RedhatEnterprise Linux Eus
Versions 8.2, 8.4
RedhatEnterprise Linux For Ibm Z Systems
Versions 7.0, 8.0

Weakness classification

References