CVE-2021-44142

NameCVE-2021-44142
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5071-1, ELA-1203-1, ELA-1212-1
Debian Bugs1004693

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
samba (PTS)jessie, jessie (lts)2:4.2.14+dfsg-0+deb8u16fixed
stretch (security)2:4.5.16+dfsg-1+deb9u4vulnerable
stretch (lts), stretch2:4.5.16+dfsg-1+deb9u5fixed
buster (security), buster, buster (lts)2:4.9.5+dfsg-5+deb10u5fixed
bullseye (security), bullseye2:4.13.13+dfsg-1~deb11u6fixed
bookworm (security), bookworm2:4.17.12+dfsg-0+deb12u1fixed
sid, trixie2:4.21.1+dfsg-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sambasourceexperimental2:4.16.0+dfsg-1
sambasourcejessie2:4.2.14+dfsg-0+deb8u16ELA-1212-1
sambasourcestretch2:4.5.16+dfsg-1+deb9u5ELA-1203-1
sambasourcebuster2:4.9.5+dfsg-5+deb10u3DSA-5071-1
sambasourcebullseye2:4.13.13+dfsg-1~deb11u3DSA-5071-1
sambasource(unstable)2:4.16.0+dfsg-21004693

Notes

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/

Search for package or bug name: Reporting problems