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
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+deb8u15vulnerable
stretch (security), stretch (lts), stretch2:4.5.16+dfsg-1+deb9u4vulnerable
buster2:4.9.5+dfsg-5+deb10u3fixed
buster (security)2:4.9.5+dfsg-5+deb10u4fixed
bullseye2:4.13.13+dfsg-1~deb11u5fixed
bullseye (security)2:4.13.13+dfsg-1~deb11u6fixed
bookworm (security), bookworm2:4.17.12+dfsg-0+deb12u1fixed
trixie2:4.19.5+dfsg-1fixed
sid2:4.19.6+dfsg-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
sambasourceexperimental2:4.16.0+dfsg-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