CVE-2021-44142

samba: Out-of-bounds heap read/write vulnerability in VFS module vfs_fruit allows code execution

Published Feb 21, 2022 CVSS 3.1 · 8.8 High EPSS 73.6% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-5071-1 samba security update
Ubuntu USN Ubuntu USN USN-5260-1 Samba vulnerabilities
Ubuntu USN Ubuntu USN USN-5260-2 Samba vulnerability
Ubuntu USN Ubuntu USN USN-5260-3 Samba vulnerability
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Apr 23, 2025, 7:02 PM
Reserved
Nov 22, 2021, 12:00 AM
Status
Modified
Published
Feb 21, 2022, 3:15 PM
Modified
Jun 17, 2026, 4:11 AM
Severity
Critical
Public date
Jan 31, 2022, 12:00 AM