8.8
HIGH
CVE-2021-44142
Apple Samba vfs_fruit Heap Access Vulnerability
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.

INFO

Published Date :

Feb. 21, 2022, 3:15 p.m.

Last Modified :

Nov. 21, 2024, 6:30 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2021-44142 has a 8 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-44142 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux
2 Redhat enterprise_linux_desktop
3 Redhat enterprise_linux_server
4 Redhat enterprise_linux_workstation
5 Redhat enterprise_linux_server_aus
6 Redhat enterprise_linux_server_tus
7 Redhat enterprise_linux_eus
8 Redhat gluster_storage
9 Redhat virtualization_host
10 Redhat enterprise_linux_for_ibm_z_systems_eus
11 Redhat enterprise_linux_for_power_little_endian
12 Redhat enterprise_linux_for_power_little_endian_eus
13 Redhat enterprise_linux_server_update_services_for_sap_solutions
14 Redhat codeready_linux_builder
15 Redhat enterprise_linux_for_ibm_z_systems
16 Redhat enterprise_linux_resilient_storage
17 Redhat enterprise_linux_for_power_big_endian
18 Redhat enterprise_linux_for_scientific_computing
1 Canonical ubuntu_linux
1 Fedoraproject fedora
1 Debian debian_linux
1 Samba samba
1 Synology diskstation_manager

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

All CVE - PoC in GitHub

poc proofofconcept tester allcve cvegithub cvenew cvepoc cveupdate

Updated: 1 month, 2 weeks ago
8 stars 3 fork 3 watcher
Born at : March 22, 2024, 3:58 p.m. This repo has been linked 928 different CVEs too.

None

Updated: 9 months, 1 week ago
1 stars 0 fork 0 watcher
Born at : March 11, 2024, 1:21 p.m. This repo has been linked 930 different CVEs too.

None

Python JavaScript CSS HTML

Updated: 1 year, 6 months ago
0 stars 0 fork 0 watcher
Born at : June 5, 2023, 7:41 p.m. This repo has been linked 8 different CVEs too.

None

Updated: 10 months ago
2 stars 2 fork 2 watcher
Born at : Nov. 25, 2022, 5:43 p.m. This repo has been linked 930 different CVEs too.

None

Dockerfile Jupyter Notebook Shell

Updated: 2 years, 7 months ago
1 stars 0 fork 0 watcher
Born at : April 22, 2022, 4:46 a.m. This repo has been linked 1 different CVEs too.

None

Python

Updated: 4 months, 1 week ago
10 stars 2 fork 2 watcher
Born at : March 29, 2022, 7:03 p.m. This repo has been linked 1 different CVEs too.

None

Python

Updated: 2 years, 8 months ago
0 stars 0 fork 0 watcher
Born at : March 29, 2022, 5:32 p.m. This repo has been linked 1 different CVEs too.

Scripts to check vulnerable software on Linux OS

Shell

Updated: 2 years, 7 months ago
0 stars 1 fork 1 watcher
Born at : Jan. 27, 2022, 2:40 p.m. This repo has been linked 6 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-44142 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-44142 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://bugzilla.samba.org/show_bug.cgi?id=14914
    Added Reference https://kb.cert.org/vuls/id/119678
    Added Reference https://security.gentoo.org/glsa/202309-06
    Added Reference https://www.kb.cert.org/vuls/id/119678
    Added Reference https://www.samba.org/samba/security/CVE-2021-44142.html
    Added Reference https://www.zerodayinitiative.com/blog/2022/2/1/cve-2021-44142-details-on-a-samba-code-execution-bug-demonstrated-at-pwn2own-austin
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Source Update by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Changed Source CERT/CC Red Hat, Inc.
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference Red Hat, Inc. https://www.samba.org/samba/security/CVE-2021-44142.html [No types assigned]
    Added Reference Red Hat, Inc. https://www.zerodayinitiative.com/blog/2022/2/1/cve-2021-44142-details-on-a-samba-code-execution-bug-demonstrated-at-pwn2own-austin [No types assigned]
    Added Reference Red Hat, Inc. https://kb.cert.org/vuls/id/119678 [No types assigned]
    Added Reference Red Hat, Inc. https://bugzilla.samba.org/show_bug.cgi?id=14914 [No types assigned]
    Added Reference Red Hat, Inc. https://security.gentoo.org/glsa/202309-06 [No types assigned]
    Removed Reference CERT/CC https://www.samba.org/samba/security/CVE-2021-44142.html
    Removed Reference CERT/CC https://kb.cert.org/vuls/id/119678
    Removed Reference CERT/CC https://bugzilla.samba.org/show_bug.cgi?id=14914
    Removed Reference CERT/CC https://www.zerodayinitiative.com/blog/2022/2/1/cve-2021-44142-details-on-a-samba-code-execution-bug-demonstrated-at-pwn2own-austin
    Removed Reference CERT/CC https://security.gentoo.org/glsa/202309-06
    Added CWE Red Hat, Inc. CWE-125
    Added CWE Red Hat, Inc. CWE-787
    Removed CWE CERT/CC CWE-125
    Removed CWE CERT/CC CWE-787
  • CVE Modified by [email protected]

    Sep. 17, 2023

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202309-06 [No Types Assigned]
  • Initial Analysis by [email protected]

    Feb. 23, 2022

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:C/I:C/A:C)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://bugzilla.samba.org/show_bug.cgi?id=14914 No Types Assigned https://bugzilla.samba.org/show_bug.cgi?id=14914 Issue Tracking, Patch, Vendor Advisory
    Changed Reference Type https://kb.cert.org/vuls/id/119678 No Types Assigned https://kb.cert.org/vuls/id/119678 Patch, Third Party Advisory
    Changed Reference Type https://www.samba.org/samba/security/CVE-2021-44142.html No Types Assigned https://www.samba.org/samba/security/CVE-2021-44142.html Mitigation, Vendor Advisory
    Changed Reference Type https://www.zerodayinitiative.com/blog/2022/2/1/cve-2021-44142-details-on-a-samba-code-execution-bug-demonstrated-at-pwn2own-austin No Types Assigned https://www.zerodayinitiative.com/blog/2022/2/1/cve-2021-44142-details-on-a-samba-code-execution-bug-demonstrated-at-pwn2own-austin Exploit, Third Party Advisory, VDB Entry
    Added CWE NIST CWE-787
    Added CWE NIST CWE-125
    Added CPE Configuration OR *cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* versions up to (excluding) 4.13.17 *cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* versions from (including) 4.14.0 up to (excluding) 4.14.12 *cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* versions from (including) 4.15.0 up to (excluding) 4.15.5
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:21.10:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:a:synology:diskstation_manager:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.2.4-25556.4
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:a:redhat:codeready_linux_builder:-:*:*:*:*:*:*:* *cpe:2.3:a:redhat:gluster_storage:3.5:*:*:*:*:*:*:* *cpe:2.3:a:redhat:virtualization_host:4.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:8.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_eus:8.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems:8.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:8.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus:8.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_power_big_endian:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian:8.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:8.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus:8.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_for_scientific_computing:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_resilient_storage:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server:8.1:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:8.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_aus:8.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:8.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_tus:8.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_update_services_for_sap_solutions:8.1:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_update_services_for_sap_solutions:8.2:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_server_update_services_for_sap_solutions:8.4:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-44142 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-44142 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

18.05 }} 4.45%

score

0.96165

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability