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.
CPE | Name | Operator | Version |
---|---|---|---|
ubuntu_linux | eq | 18.04 | |
ubuntu_linux | eq | 14.04 | |
ubuntu_linux | eq | 20.04 | |
ubuntu_linux | eq | 16.04 | |
ubuntu_linux | eq | 21.10 | |
debian_linux | eq | 10.0 | |
debian_linux | eq | 11.0 | |
fedora | eq | 34 | |
fedora | eq | 35 | |
enterprise_linux | eq | 7.0 |