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 package | Versions | Reported by |
|---|---|---|
| Samba Samba | from 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.5 | CVE List, NVD |
| debian debian_linux | 10.0, 11.0 | NVD |
| canonical ubuntu_linux | 14.04, 16.04, 18.04, 20.04, 21.10 | NVD |
| synology diskstation_manager | from 6.2 before 6.2.4-25556.4 | NVD |
| fedoraproject fedora | 34, 35 | NVD |
| redhat codeready_linux_builder | Not specified | NVD |
| redhat gluster_storage | 3.5 | NVD |
| redhat virtualization_host | 4.0 | NVD |
| redhat enterprise_linux | 7.0, 8.0 | NVD |
| redhat enterprise_linux_desktop | 7.0 | NVD |
| redhat enterprise_linux_eus | 8.2, 8.4 | NVD |
| redhat enterprise_linux_for_ibm_z_systems | 7.0, 8.0 | NVD |
| redhat enterprise_linux_for_ibm_z_systems_eus | 8.2, 8.4 | NVD |
| redhat enterprise_linux_for_power_big_endian | 7.0 | NVD |
| redhat enterprise_linux_for_power_little_endian | 7.0, 8.0 | NVD |
| redhat enterprise_linux_for_power_little_endian_eus | 8.2, 8.4 | NVD |
| redhat enterprise_linux_for_scientific_computing | 7.0 | NVD |
| redhat enterprise_linux_resilient_storage | 7.0 | NVD |
| redhat enterprise_linux_server | 7.0, 8.1 | NVD |
| redhat enterprise_linux_server_aus | 8.2, 8.4 | NVD |
| redhat enterprise_linux_server_tus | 8.2, 8.4 | NVD |
| redhat enterprise_linux_server_update_services_for_sap_solutions | 8.1, 8.2, 8.4 | NVD |
| redhat enterprise_linux_workstation | 7.0 | NVD |
All scores
| CISA-ADP | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.0high CVSS:2.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-44142 changed 2025-04-23 | CVE Terms of Use |
| NVD | CVE-2021-44142 changed 2026-06-17 | Public domain |