Out-of-bounds Read in Samba
CVE-2021-44142
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.736 (99.5th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 99th percentile — 99.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.734 · newest: 0.736 · change: +0.002
Affected products
- Samba — versions unspecified
- Synology Diskstation Manager
- Canonical Ubuntu Linux — versions 14.04, 16.04, 18.04
- Debian Linux — versions 10.0, 11.0
- Fedoraproject Fedora — versions 34, 35
- Red Hat Codeready Linux Builder
- Red Hat Enterprise Linux — versions 7.0, 8.0
- Red Hat Enterprise Linux Desktop — versions 7.0
- Red Hat Enterprise Linux Eus — versions 8.2, 8.4
- Red Hat Enterprise Linux For IBM Z Systems — versions 7.0, 8.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
Frequently asked questions
- What is CVE-2021-44142?
- CVE-2021-44142 is a high-severity vulnerability in Samba, classified under Out-of-bounds Read. CVSS score: 8.8/10. Published 2022-02-21.
- How severe is CVE-2021-44142?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2021-44142 known to be exploited?
- 17 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.