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 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.
- Score
- CVSS 3.1 8.8 High
- Status
- Modified - secalert@redhat.com
- Published
- 2022-02-21
- Last modified
- 2025-04-23
- Weaknesses
- CWE-125, CWE-787
Affected products
- Ubuntu Linux (Canonical)
- Debian Linux (Debian)
- Fedora (Fedoraproject)
- Codeready Linux Builder (Redhat)
- Enterprise Linux (Redhat)
- Enterprise Linux Desktop (Redhat)
- Enterprise Linux Eus (Redhat)
- Enterprise Linux For Ibm Z Systems (Redhat)
- Enterprise Linux For Ibm Z Systems Eus (Redhat)
- Enterprise Linux For Power Big Endian (Redhat)
- Enterprise Linux For Power Little Endian (Redhat)
- Enterprise Linux For Power Little Endian Eus (Redhat)
- Enterprise Linux For Scientific Computing (Redhat)
- Enterprise Linux Resilient Storage (Redhat)
- Enterprise Linux Server (Redhat)
- Enterprise Linux Server Aus (Redhat)
- Enterprise Linux Server Tus (Redhat)
- Enterprise Linux Server Update Services For Sap Solutions (Redhat)
- Enterprise Linux Workstation (Redhat)
- Gluster Storage (Redhat)
- Virtualization Host (Redhat)
- Samba (Samba)
- Diskstation Manager (Synology)
References
- https://bugzilla.samba.org/show_bug.cgi?id=14914
- https://kb.cert.org/vuls/id/119678
- https://security.gentoo.org/glsa/202309-06
- https://www.samba.org/samba/security/CVE-2021-44142.html
- https://www.zerodayinitiative.com/blog/2022/2/1/cve-2021-44142-details-on-a-samba-code-execution-bug-demonstrated-at-pw…
- https://www.kb.cert.org/vuls/id/119678