| Name | CVE-2021-44142 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-5071-1 |
| Debian Bugs | 1004693 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| samba (PTS) | bullseye | 2:4.13.13+dfsg-1~deb11u6 | fixed |
| bullseye (security) | 2:4.13.13+dfsg-1~deb11u7 | fixed | |
| bookworm | 2:4.17.12+dfsg-0+deb12u2 | fixed | |
| bookworm (security) | 2:4.17.12+dfsg-0+deb12u1 | fixed | |
| trixie | 2:4.22.6+dfsg-0+deb13u1 | fixed | |
| forky | 2:4.23.3+dfsg-1 | fixed | |
| sid | 2:4.23.4+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| samba | source | experimental | 2:4.16.0+dfsg-1 | |||
| samba | source | buster | 2:4.9.5+dfsg-5+deb10u3 | DSA-5071-1 | ||
| samba | source | bullseye | 2:4.13.13+dfsg-1~deb11u3 | DSA-5071-1 | ||
| samba | source | (unstable) | 2:4.16.0+dfsg-2 | 1004693 |
https://www.samba.org/samba/security/CVE-2021-44142.html
https://bugzilla.samba.org/show_bug.cgi?id=14914
https://www.zerodayinitiative.com/advisories/ZDI-22-244/
https://www.zerodayinitiative.com/advisories/ZDI-22-245/
https://www.zerodayinitiative.com/advisories/ZDI-22-246/