CVE-2021-44142 in the critical feed json
The Samba vfs_fruit module uses extended file attributes (EA, xattr) to provide "...enhanced compatibility with Apple SMB clients and inter…
published 2022-02-21 4 y ago modified 2026-06-17 4 mo ago also EUVD-2021-30995
- cvss
- 8.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 73.6%
- EPSS 73.6% chance of exploitation in 30 days, percentile 99.4%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- Samba Samba 4.13.17, 4.14.12, 4.15.5
- samba Debian 14, Debian 13, Debian 12 2:4.16.0+dfsg-2
debian advisories DEBIAN-CVE-2021-44142
- samba Ubuntu 18.04 LTS 2:4.7.6+dfsg~ubuntu-0ubuntu2.28
- samba Ubuntu 20.04 LTS 2:4.13.17~dfsg-0ubuntu0.21.04.1
- samba Ubuntu Pro 14.04 LTS 2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12
- samba Ubuntu Pro 16.04 LTS 2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1
ubuntu advisories UBUNTU-CVE-2021-44142
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- samba storage 3.5 4.11.6-116.el7rhgs
- ctdb storage 3.5 4.11.6-116.el7rhgs
- samba-libs storage 3.5 4.11.6-116.el7rhgs
- samba-pidl storage 3.5 4.11.6-116.el7rhgs
- libwbclient storage 3.5 4.11.6-116.el7rhgs
- libsmbclient storage 3.5 4.11.6-116.el7rhgs
- samba-client storage 3.5 4.11.6-116.el7rhgs
- samba-common storage 3.5 4.11.6-116.el7rhgs
red hat advisories RHSA-2022:0663RHSA-2022:0664RHSA-2022:0457RHSA-2022:0458RHSA-2022:0331RHSA-2022:0329
- samba SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 +1 more 4.15.4+git.324.8332acf1a63-3.54.1
- sssd SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.16.1-7.28.9
- gnutls SLES for SAP 12 SP5, SLES 12 SP5 3.4.17-8.4.1
- p11-kit SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 0.23.2-8.3.2
- apparmor SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 2.8.2-56.6.3
- libnettle SLES for SAP 12 SP5, SLES 12 SP5 3.1-21.3.2
- ca-certificates SLES for SAP 12 SP5, SLES 12 SP5 1_201403302107-15.3.3
- yast2-samba-client SLES for SAP 12 SP5, SLES 12 SP5 3.1.23-3.3.1
suse advisories SUSE-SU-2022:0323-1SUSE-SU-2022:0361-1SUSE-SU-2022:0283-1SUSE-SU-2022:0287-1SUSE-SU-2022:0284-1SUSE-SU-2022:0271-1
- samba openSUSE Tumbleweed 4.15.5+git.328.f1f29505d84-1.1
- samba openSUSE Leap 15.3 4.15.4+git.324.8332acf1a63-150300.3.25.3
- ldb openSUSE Leap 15.3 2.4.1-150300.3.10.1
- tdb openSUSE Leap 15.3 1.4.4-150300.3.3.2
- krb5 openSUSE Leap 15.3 1.19.2-150300.8.3.2
- sssd openSUSE Leap 15.3 1.16.1-150300.23.17.3
- talloc openSUSE Leap 15.3 2.3.3-150300.3.3.2
- tevent openSUSE Leap 15.3 0.11.0-150300.3.3.2
opensuse advisories openSUSE-SU-2024:11807-1openSUSE-SU-2022:0283-1
- samba-vfs-iouring AlmaLinux 8 4.14.5-9.el8_5
almalinux advisories ALSA-2022:0332
- samba Rocky Linux 8 4.14.5-9.el8_5
rocky linux advisories RLSA-2022:0332
- samba Alpine 3.13 4.13.17-r0
- samba Alpine 3.14 4.14.12-r0
- samba Alpine 3.16, Alpine 3.15 4.15.12-r0
alpine advisories ALPINE-CVE-2021-44142
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- samba Azure Linux 3.0 4.18.3-1
azure linux advisories AZL-37008
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- samba Arch Linux 4.15.5-1
arch linux advisories AVG-2648
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-44142 updated cvss 9.9
samba: Out-of-bounds heap read/write vulnerability in VFS module vfs_fruit allows code execution
-
Red Hat CodeReady Linux Builder (v. 8) samba-devel 4.14.5-9.el8_5, ctdb-debuginfo 4.14.5-9.el8_5, samba-debuginfo 4.14.5-9.el8_5, libwbclient-devel 4.14.5-9.el8_5, samba-debugsource 4.14.5-9.el8_5, libsmbclient-devel 4.14.5-9.el8_5, +17 morefixed: vendor fix RHSA-2022:0332
-
Red Hat CodeReady Linux Builder EUS (v. 8.2) ctdb-debuginfo 4.11.2-19.el8_2, samba-debuginfo 4.11.2-19.el8_2, libwbclient-devel 4.11.2-19.el8_2, samba-debugsource 4.11.2-19.el8_2, libsmbclient-devel 4.11.2-19.el8_2, ctdb-tests-debuginfo 4.11.2-19.el8_2, +16 morefixed: vendor fix RHSA-2022:0330
-
Red Hat Enterprise Linux AppStream (v. 8) samba-vfs-iouring 4.14.5-9.el8_5fixed: vendor fix RHSA-2022:0332
-
Red Hat Enterprise Linux AppStream E4S (v. 8.1) samba-test 4.10.4-103.el8_1fixed: vendor fix RHSA-2022:0329
-
Red Hat Enterprise Linux BaseOS (v. 8) ctdb 4.14.5-9.el8_5, samba 4.14.5-9.el8_5, samba-libs 4.14.5-9.el8_5, samba-pidl 4.14.5-9.el8_5, samba-test 4.14.5-9.el8_5, libwbclient 4.14.5-9.el8_5, +15 morefixed: vendor fix RHSA-2022:0332
-
Red Hat Enterprise Linux BaseOS E4S (v. 8.1) ctdb 4.10.4-103.el8_1, samba 4.10.4-103.el8_1, ctdb-tests 4.10.4-103.el8_1, samba-libs 4.10.4-103.el8_1, samba-pidl 4.10.4-103.el8_1, libwbclient 4.10.4-103.el8_1, +14 morefixed: vendor fix RHSA-2022:0329
-
Red Hat Enterprise Linux BaseOS EUS (v. 8.2) ctdb 4.11.2-19.el8_2, samba 4.11.2-19.el8_2, ctdb-tests 4.11.2-19.el8_2, samba-libs 4.11.2-19.el8_2, samba-pidl 4.11.2-19.el8_2, samba-test 4.11.2-19.el8_2, +15 morefixed: vendor fix RHSA-2022:0330
-
Red Hat Enterprise Linux BaseOS EUS (v.8.4) ctdb 4.13.3-9.el8_4, samba 4.13.3-9.el8_4, ctdb-tests 4.13.3-9.el8_4, samba-libs 4.13.3-9.el8_4, samba-pidl 4.13.3-9.el8_4, samba-test 4.13.3-9.el8_4, +16 morefixed: vendor fix RHSA-2022:0331
show 21 moreshow fewer
-
Red Hat Enterprise Linux Client (v. 7) samba 4.10.16-18.el7_9, samba-libs 4.10.16-18.el7_9, libwbclient 4.10.16-18.el7_9, libsmbclient 4.10.16-18.el7_9, samba-client 4.10.16-18.el7_9, samba-common 4.10.16-18.el7_9, +7 more Red Hat Enterprise Linux Client Optional (v. 7) samba 4.10.16-18.el7_9, samba-dc 4.10.16-18.el7_9, samba-pidl 4.10.16-18.el7_9, samba-test 4.10.16-18.el7_9, samba-python 4.10.16-18.el7_9, samba-dc-libs 4.10.16-18.el7_9, +4 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) samba 4.10.16-18.el7_9, samba-dc 4.10.16-18.el7_9, samba-pidl 4.10.16-18.el7_9, samba-test 4.10.16-18.el7_9, samba-python 4.10.16-18.el7_9, samba-dc-libs 4.10.16-18.el7_9, +5 morefixed: vendor fix RHSA-2022:0328
-
Red Hat Enterprise Linux CRB EUS (v.8.4) samba-devel 4.13.3-9.el8_4, ctdb-debuginfo 4.13.3-9.el8_4, samba-debuginfo 4.13.3-9.el8_4, libwbclient-devel 4.13.3-9.el8_4, samba-debugsource 4.13.3-9.el8_4, libsmbclient-devel 4.13.3-9.el8_4, +18 morefixed: vendor fix RHSA-2022:0331
-
Red Hat Enterprise Linux Server (v. 7) samba 4.10.16-18.el7_9, samba-libs 4.10.16-18.el7_9, libwbclient 4.10.16-18.el7_9, libsmbclient 4.10.16-18.el7_9, samba-client 4.10.16-18.el7_9, samba-common 4.10.16-18.el7_9, +8 morefixed: vendor fix RHSA-2022:0328
-
Red Hat Enterprise Linux Server AUS (v. 7.6) samba 4.8.3-7.el7_6, samba-libs 4.8.3-7.el7_6, libwbclient 4.8.3-7.el7_6, libsmbclient 4.8.3-7.el7_6, samba-client 4.8.3-7.el7_6, samba-common 4.8.3-7.el7_6, +8 morefixed: vendor fix RHSA-2022:0663
-
Red Hat Enterprise Linux Server AUS (v. 7.7) samba 4.9.1-12.el7_7, samba-libs 4.9.1-12.el7_7, libwbclient 4.9.1-12.el7_7, libsmbclient 4.9.1-12.el7_7, samba-client 4.9.1-12.el7_7, samba-common 4.9.1-12.el7_7, +8 morefixed: vendor fix RHSA-2022:0664
-
Red Hat Enterprise Linux Server E4S (v. 7.6) samba 4.8.3-7.el7_6, samba-libs 4.8.3-7.el7_6, libwbclient 4.8.3-7.el7_6, libsmbclient 4.8.3-7.el7_6, samba-client 4.8.3-7.el7_6, samba-common 4.8.3-7.el7_6, +8 morefixed: vendor fix RHSA-2022:0663
-
Red Hat Enterprise Linux Server E4S (v. 7.7) samba 4.9.1-12.el7_7, samba-libs 4.9.1-12.el7_7, libwbclient 4.9.1-12.el7_7, libsmbclient 4.9.1-12.el7_7, samba-client 4.9.1-12.el7_7, samba-common 4.9.1-12.el7_7, +8 morefixed: vendor fix RHSA-2022:0664
-
Red Hat Enterprise Linux Server Optional (v. 7) samba-dc 4.10.16-18.el7_9, samba-pidl 4.10.16-18.el7_9, samba-test 4.10.16-18.el7_9, samba-python 4.10.16-18.el7_9, samba-dc-libs 4.10.16-18.el7_9, samba-test-libs 4.10.16-18.el7_9, +3 morefixed: vendor fix RHSA-2022:0328
-
Red Hat Enterprise Linux Server Optional AUS (v. 7.6) samba-dc 4.8.3-7.el7_6, samba-pidl 4.8.3-7.el7_6, samba-test 4.8.3-7.el7_6, samba-dc-libs 4.8.3-7.el7_6, samba-test-libs 4.8.3-7.el7_6, samba-python-test 4.8.3-7.el7_6, +2 morefixed: vendor fix RHSA-2022:0663
-
Red Hat Enterprise Linux Server Optional AUS (v. 7.7) samba-dc 4.9.1-12.el7_7, samba-pidl 4.9.1-12.el7_7, samba-test 4.9.1-12.el7_7, samba-dc-libs 4.9.1-12.el7_7, samba-test-libs 4.9.1-12.el7_7, samba-python-test 4.9.1-12.el7_7, +2 morefixed: vendor fix RHSA-2022:0664
-
Red Hat Enterprise Linux Server Optional E4S (v. 7.6) samba-dc 4.8.3-7.el7_6, samba-pidl 4.8.3-7.el7_6, samba-test 4.8.3-7.el7_6, samba-python 4.8.3-7.el7_6, samba-dc-libs 4.8.3-7.el7_6, samba-test-libs 4.8.3-7.el7_6, +2 morefixed: vendor fix RHSA-2022:0663
-
Red Hat Enterprise Linux Server Optional E4S (v. 7.7) samba-dc 4.9.1-12.el7_7, samba-pidl 4.9.1-12.el7_7, samba-test 4.9.1-12.el7_7, samba-python 4.9.1-12.el7_7, samba-dc-libs 4.9.1-12.el7_7, samba-test-libs 4.9.1-12.el7_7, +3 morefixed: vendor fix RHSA-2022:0664
-
Red Hat Enterprise Linux Server Optional TUS (v. 7.6) samba-dc 4.8.3-7.el7_6, samba-pidl 4.8.3-7.el7_6, samba-test 4.8.3-7.el7_6, samba-dc-libs 4.8.3-7.el7_6, samba-test-libs 4.8.3-7.el7_6, samba-python-test 4.8.3-7.el7_6, +2 morefixed: vendor fix RHSA-2022:0663
-
Red Hat Enterprise Linux Server Optional TUS (v. 7.7) samba-dc 4.9.1-12.el7_7, samba-pidl 4.9.1-12.el7_7, samba-test 4.9.1-12.el7_7, samba-dc-libs 4.9.1-12.el7_7, samba-test-libs 4.9.1-12.el7_7, samba-python-test 4.9.1-12.el7_7, +2 morefixed: vendor fix RHSA-2022:0664
-
Red Hat Enterprise Linux Server Resilient Storage (v. 7) ctdb 4.10.16-18.el7_9, ctdb-tests 4.10.16-18.el7_9fixed: vendor fix RHSA-2022:0328
-
Red Hat Enterprise Linux Server TUS (v. 7.6) samba 4.8.3-7.el7_6, samba-libs 4.8.3-7.el7_6, libwbclient 4.8.3-7.el7_6, libsmbclient 4.8.3-7.el7_6, samba-client 4.8.3-7.el7_6, samba-common 4.8.3-7.el7_6, +8 morefixed: vendor fix RHSA-2022:0663
-
Red Hat Enterprise Linux Server TUS (v. 7.7) samba 4.9.1-12.el7_7, samba-libs 4.9.1-12.el7_7, libwbclient 4.9.1-12.el7_7, libsmbclient 4.9.1-12.el7_7, samba-client 4.9.1-12.el7_7, samba-common 4.9.1-12.el7_7, +8 morefixed: vendor fix RHSA-2022:0664
-
Red Hat Enterprise Linux Workstation (v. 7) samba 4.10.16-18.el7_9, samba-libs 4.10.16-18.el7_9, libwbclient 4.10.16-18.el7_9, libsmbclient 4.10.16-18.el7_9, samba-client 4.10.16-18.el7_9, samba-common 4.10.16-18.el7_9, +8 more Red Hat Enterprise Linux Workstation Optional (v. 7) samba-dc 4.10.16-18.el7_9, samba-pidl 4.10.16-18.el7_9, samba-test 4.10.16-18.el7_9, samba-dc-libs 4.10.16-18.el7_9, samba-test-libs 4.10.16-18.el7_9, samba-python-test 4.10.16-18.el7_9, +2 morefixed: vendor fix RHSA-2022:0328
-
Red Hat Gluster 3.5 Samba on RHEL-7 ctdb 4.11.6-116.el7rhgs, samba 4.11.6-116.el7rhgs, samba-libs 4.11.6-116.el7rhgs, samba-pidl 4.11.6-116.el7rhgs, libwbclient 4.11.6-116.el7rhgs, libsmbclient 4.11.6-116.el7rhgs, +12 morefixed: vendor fix RHSA-2022:0457
-
Red Hat Gluster 3.5 Samba on RHEL-8 ctdb 4.14.5-206.el8rhgs, samba 4.14.5-206.el8rhgs, samba-libs 4.14.5-206.el8rhgs, samba-pidl 4.14.5-206.el8rhgs, libwbclient 4.14.5-206.el8rhgs, libsmbclient 4.14.5-206.el8rhgs, +12 morefixed: vendor fix RHSA-2022:0458
-
Red Hat Enterprise Linux 6 samba, samba4, samba4-dc, samba-swat, samba4-libs, samba4-pidl, +17 more Red Hat Enterprise Linux 9 ctdb, samba, libldb, ldb-tools, libnetapi, samba-libs, +27 more Red Hat Virtualization 4 redhat-virtualization-host-image-updatenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
73.59% chance of exploitation in the next 30 days, higher than 99.4% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 9.0 | AV:N/AC:L/Au:S/C:C/I:C/A:C |
Affected products
- Samba Samba
Classification
References
-
security.gentoo.org
/glsa/202309-06
vendor-advisory
- samba.org /samba/security/CVE-2021-44142.html
- zerodayinitiative.com /blog/2022/2/1/cve-2021-44142-details-on-a-samba-code-execution-bug-demonstrated-at-pwn2own-austin
-
kb.cert.org
/vuls/id/119678
third-party-advisory
- bugzilla.samba.org /show_bug.cgi?id=14914
- kb.cert.org /vuls/id/119678
Sources
- CVE List CVE-2021-44142
- NVD CVE-2021-44142
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.