Skip to main content
← All vulnerabilities
CVE-2021-44142

The Samba vfs_fruit module uses extended file attributes (EA, xattr) to provide "...enhanced compatibility with Apple SMB clients and intero

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.13.17, 4.14.12, 4.15.5
4 proofs of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • Samba Samba

    fixed in 4.13.17; fixed in 4.14.12; fixed in 4.15.5

References 9

samba.org

zerodayinitiative.com

kb.cert.org

bugzilla.samba.org

security.gentoo.org

GitHub · Nxvh1337/CVE-2021-44142-vulnerable-lab

GitHub · gudyrmik/CVE-2021-44142

GitHub · horizon3ai/CVE-2021-44142

GitHub · hrsman/Samba-CVE-2021-44142