CVE-2021-44142

High

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.

SeverityHigh
CVSS8.8
Exploit probability—
ProductSamba
PublishedFeb 21, 2022
First seenFeb 21, 2022

How to fix

Update
  • samba samba4.13.17, 4.14.12, 4.15.5 or later
  • synology diskstation_manager6.2.4-25556.4 or later

Affected products

ProductAffected versionsFixed in
samba sambav < 4.13.17, 4.14.0 ≤ v < 4.14.12, 4.15.0 ≤ v < 4.15.54.13.17, 4.14.12, 4.15.5
debian debian_linux10.0, 11.0—
canonical ubuntu_linux14.04, 16.04, 18.04, 20.04, 21.10—
synology diskstation_manager6.2 ≤ v < 6.2.4-25556.46.2.4-25556.4
fedoraproject fedora34, 35—
redhat codeready_linux_builderNo range specified—
redhat gluster_storage3.5—
redhat virtualization_host4.0—
redhat enterprise_linux7.0, 8.0—
redhat enterprise_linux_desktop7.0—
redhat enterprise_linux_eus8.2, 8.4—
redhat enterprise_linux_for_ibm_z_systems7.0, 8.0—
redhat enterprise_linux_for_ibm_z_systems_eus8.2, 8.4—
redhat enterprise_linux_for_power_big_endian7.0—
redhat enterprise_linux_for_power_little_endian7.0, 8.0—
redhat enterprise_linux_for_power_little_endian_eus8.2, 8.4—
redhat enterprise_linux_for_scientific_computing7.0—
redhat enterprise_linux_resilient_storage7.0—
redhat enterprise_linux_server7.0, 8.1—
redhat enterprise_linux_server_aus8.2, 8.4—
redhat enterprise_linux_server_tus8.2, 8.4—
redhat enterprise_linux_server_update_services_for_sap_solutions8.1, 8.2, 8.4—
redhat enterprise_linux_workstation7.0—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.