CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Samba

CVE-2021-44142
Samba vulnerability

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.

Affected products

Samba, Debian Linux, Ubuntu Linux, Diskstation Manager, Fedora, Codeready Linux Builder, Gluster Storage, Virtualization Host, Enterprise Linux, Enterprise Linux Desktop and more. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Samba runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Samba products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.