vulnerability

Red Hat: CVE-2021-44142: CVE-2021-44142 samba: Out-of-bounds heap read/write vulnerability in VFS module vfs_fruit allows code execution (Multiple Advisories)

Severity
9
CVSS
(AV:N/AC:L/Au:S/C:C/I:C/A:C)
Published
Jan 31, 2022
Added
Feb 1, 2022
Modified
Aug 11, 2025

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.

Solutions

redhat-upgrade-ctdbredhat-upgrade-ctdb-debuginforedhat-upgrade-ctdb-testsredhat-upgrade-ctdb-tests-debuginforedhat-upgrade-libsmbclientredhat-upgrade-libsmbclient-debuginforedhat-upgrade-libsmbclient-develredhat-upgrade-libwbclientredhat-upgrade-libwbclient-debuginforedhat-upgrade-libwbclient-develredhat-upgrade-python3-sambaredhat-upgrade-python3-samba-debuginforedhat-upgrade-python3-samba-testredhat-upgrade-sambaredhat-upgrade-samba-clientredhat-upgrade-samba-client-debuginforedhat-upgrade-samba-client-libsredhat-upgrade-samba-client-libs-debuginforedhat-upgrade-samba-commonredhat-upgrade-samba-common-libsredhat-upgrade-samba-common-libs-debuginforedhat-upgrade-samba-common-toolsredhat-upgrade-samba-common-tools-debuginforedhat-upgrade-samba-dcredhat-upgrade-samba-dc-libsredhat-upgrade-samba-debuginforedhat-upgrade-samba-debugsourceredhat-upgrade-samba-develredhat-upgrade-samba-krb5-printingredhat-upgrade-samba-krb5-printing-debuginforedhat-upgrade-samba-libsredhat-upgrade-samba-libs-debuginforedhat-upgrade-samba-pidlredhat-upgrade-samba-pythonredhat-upgrade-samba-python-testredhat-upgrade-samba-testredhat-upgrade-samba-test-debuginforedhat-upgrade-samba-test-libsredhat-upgrade-samba-test-libs-debuginforedhat-upgrade-samba-vfs-glusterfsredhat-upgrade-samba-vfs-glusterfs-debuginforedhat-upgrade-samba-vfs-iouringredhat-upgrade-samba-vfs-iouring-debuginforedhat-upgrade-samba-winbindredhat-upgrade-samba-winbind-clientsredhat-upgrade-samba-winbind-clients-debuginforedhat-upgrade-samba-winbind-debuginforedhat-upgrade-samba-winbind-krb5-locatorredhat-upgrade-samba-winbind-krb5-locator-debuginforedhat-upgrade-samba-winbind-modulesredhat-upgrade-samba-winbind-modules-debuginforedhat-upgrade-samba-winexeredhat-upgrade-samba-winexe-debuginfo
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.