CVE-2021-44142
JSON

8.8high

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

Severity
8.8high CVSS:3.1 by CISA-ADP
Exploit likelihood
73.6% (higher than 99% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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

Product or packageVersionsReported by
Samba Sambafrom unspecified before 4.13.17, from unspecified before 4.14.12, from unspecified before 4.15.5, before 4.13.17, from 4.14.0 before 4.14.12, from 4.15.0 before 4.15.5CVE List, NVD
debian debian_linux10.0, 11.0NVD
canonical ubuntu_linux14.04, 16.04, 18.04, 20.04, 21.10NVD
synology diskstation_managerfrom 6.2 before 6.2.4-25556.4NVD
fedoraproject fedora34, 35NVD
redhat codeready_linux_builderNot specifiedNVD
redhat gluster_storage3.5NVD
redhat virtualization_host4.0NVD
redhat enterprise_linux7.0, 8.0NVD
redhat enterprise_linux_desktop7.0NVD
redhat enterprise_linux_eus8.2, 8.4NVD
redhat enterprise_linux_for_ibm_z_systems7.0, 8.0NVD

All scores

CISA-ADP8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD9.0high CVSS:2.0AV:N/AC:L/Au:S/C:C/I:C/A:C

Classification

CWE-125CWE-787

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

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.

NVD (es)

El módulo vfs_fruit de Samba usa atributos de archivo extendidos (EA, xattr) para proporcionar "...compatibilidad mejorada con los clientes SMB de Apple e interoperabilidad con un servidor de archivos AFP de Netatalk 3". Samba versiones anteriores a 4.13.17, 4.14.12 y 4.15.5 con vfs_fruit configurado permiten una lectura y escritura fuera de límites de la pila por medio de atributos de archivo extendidos especialmente diseñados. Un atacante remoto con acceso de escritura a los atributos de archivo extendidos puede ejecutar código arbitrario con los privilegios de smbd, típicamente root

References

Sources

SourceRecordLicence
CVE ListCVE-2021-44142 changed 2025-04-23CVE Terms of Use
NVDCVE-2021-44142 changed 2026-06-17Public domain