Original 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 software
- Samba ≥ 4.14.0 < 4.14.12≥ 4.15.0 < 4.15.5< 4.13.17 Fixed in: 4.14.12, 4.15.5, 4.13.17 exact match
Details
- Published
- 2022-02-21
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-125, CWE-787
- EPSS (30-day exploit probability)
- 73.59% (percentile 99)
References
- cve.org/CVE-2021-44142
- nvd.nist.gov/vuln/detail/CVE-2021-44142
- bugzilla.samba.org/show_bug.cgi?id=14914
- kb.cert.org/vuls/id/119678
- security.gentoo.org/glsa/202309-06
- www.samba.org/samba/security/CVE-2021-44142.html
- www.zerodayinitiative.com/blog/2022/2/1/cve-2021-44142-details-on-a-samba-code-execution-b...
- www.kb.cert.org/vuls/id/119678
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.