What’s Vulnerable › Vulnerabilities
CVE-2021-44142
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 73.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-02-21 · updated 2026-06-17
- Weakness: CWE-125
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 products
- Canonical Ubuntu Linux: 14.04, 16.04, 18.04, 20.04, 21.10
- Debian Linux: 10.0, 11.0
- Fedoraproject Fedora: 34, 35
- RedHat Codeready Linux Builder: all versions
- Red Hat Enterprise Linux: 7.0, 8.0
- RedHat Enterprise Linux Desktop: 7.0
- RedHat Enterprise Linux Eus: 8.2, 8.4
- RedHat Enterprise Linux For Ibm Z Systems: 7.0, 8.0
- RedHat Enterprise Linux For Ibm Z Systems Eus: 8.2, 8.4
- RedHat Enterprise Linux For Power Big Endian: 7.0
- RedHat Enterprise Linux For Power Little Endian: 7.0, 8.0
- RedHat Enterprise Linux For Power Little Endian Eus: 8.2, 8.4
- RedHat Enterprise Linux For Scientific Computing: 7.0
- RedHat Enterprise Linux Resilient Storage: 7.0
- RedHat Enterprise Linux Server: 7.0, 8.1
- RedHat Enterprise Linux Server Aus: 8.2, 8.4
- RedHat Enterprise Linux Server Tus: 8.2, 8.4
- RedHat Enterprise Linux Server Update Services For Sap Solutions: 8.1, 8.2, 8.4
- RedHat Enterprise Linux Workstation: 7.0
- Red Hat, Inc. Gluster Storage for RHEL 6: 3.5
- RedHat Virtualization Host: 4.0
- Samba: before 4.13.17; from 4.14.0 before 4.14.12; from 4.15.0 before 4.15.5 — fixed in 4.13.17, 4.14.12, 4.15.5
- Synology DiskStation Manager: from 6.2 before 6.2.4-25556.4 — fixed in 6.2.4-25556.4
How to fix
Upgrade to a fixed version: Samba 4.13.17, 4.14.12, 4.15.5; Synology DiskStation Manager 6.2.4-25556.4. Check the vendor advisory for mitigations.
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-pwn2own-austin
- 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.kb.cert.org/vuls/id/119678
- 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-pwn2own-austin
Get alerted when CVE-2021-44142 or the next vulnerability affects your stack