{"answers":{"affected":"It affects 23 products.","exploited":"There is no known exploitation of CVE-2021-44142 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2021-44142 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 21 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-44142 and fix it if it is affected.\n\nWhat it is: CVE-2021-44142 is a high-severity memory corruption vulnerability in Canonical Ubuntu Linux, published on 21 Feb 2022. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-44142 in the wild and no public exploit code.\n\nAffected product: Canonical Ubuntu Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-44142/ (Markdown: https://insights.sbomify.com/CVE-2021-44142/index.md)","id":"CVE-2021-44142","markdown":"https://insights.sbomify.com/CVE-2021-44142/index.md","name":"CVE-2021-44142","record":{"aliases":["ALPINE-CVE-2021-44142","AZL-37008","AZL-8611","CLSA-2022-1643914257","CLSA-2022-1643917481","CLSA-2022-1644501113","DEBIAN-CVE-2021-44142","DSA-5071-1","ECHO-8dd7-1492-d324","GHSA-mpfw-9wp5-hfff","OESA-2022-1524","RHSA-2022:0328","RHSA-2022:0329","RHSA-2022:0330","RHSA-2022:0331","RHSA-2022:0332","RHSA-2022:0457","RHSA-2022:0458","RHSA-2022:0663","RHSA-2022:0664","RLSA-2022:0332","SUSE-SU-2022:0251-1","SUSE-SU-2022:0252-1","SUSE-SU-2022:0271-1","SUSE-SU-2022:0284-1","SUSE-SU-2022:0287-1","UBUNTU-CVE-2021-44142","USN-5260-2","USN-5260-3"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","privilege_escalation"],"network_reachable":"yes","non_default_config":true,"product_category":"Samba file server","requires_auth":"low_privilege","summary":"Remote attackers with write access to extended file attributes can execute arbitrary code as root via heap corruption in the Samba vfs_fruit module.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"codeready_linux_builder","vendor":"redhat"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"enterprise_linux_desktop","vendor":"redhat"},{"product":"enterprise_linux_eus","vendor":"redhat"},{"product":"enterprise_linux_for_ibm_z_systems","vendor":"redhat"},{"product":"enterprise_linux_for_ibm_z_systems_eus","vendor":"redhat"},{"product":"enterprise_linux_for_power_big_endian","vendor":"redhat"},{"product":"enterprise_linux_for_power_little_endian","vendor":"redhat"},{"product":"enterprise_linux_for_power_little_endian_eus","vendor":"redhat"},{"product":"enterprise_linux_for_scientific_computing","vendor":"redhat"},{"product":"enterprise_linux_resilient_storage","vendor":"redhat"},{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"enterprise_linux_server_aus","vendor":"redhat"},{"product":"enterprise_linux_server_tus","vendor":"redhat"},{"product":"enterprise_linux_server_update_services_for_sap_solutions","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"},{"product":"gluster_storage","vendor":"redhat"},{"product":"virtualization_host","vendor":"redhat"},{"product":"samba","vendor":"samba"},{"product":"diskstation_manager","vendor":"synology"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"},{"id":"CWE-125","name":"Out-of-bounds Read"}],"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.","ecosystems":["Red Hat:enterprise_linux:7::client","Red Hat:enterprise_linux:7::computenode","Red Hat:enterprise_linux:7::server","Red Hat:enterprise_linux:7::workstation","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::baseos","Red Hat:enterprise_linux:8::crb","Red Hat:rhel_aus:7.6::server","Red Hat:rhel_aus:7.7::server","Red Hat:rhel_e4s:7.6::server","Red Hat:rhel_e4s:7.7::server","Red Hat:rhel_e4s:8.1::appstream","Red Hat:rhel_e4s:8.1::baseos","Red Hat:rhel_eus:8.2::baseos","Red Hat:rhel_eus:8.2::crb","Red Hat:rhel_eus:8.4::baseos","Red Hat:rhel_eus:8.4::crb","Red Hat:rhel_tus:7.6::server","Red Hat:rhel_tus:7.7::server","Red Hat:storage:3.5:samba:el7","Red Hat:storage:3.5:samba:el8","Rocky Linux:8","SUSE:Enterprise Storage 6","SUSE:Enterprise Storage 7","SUSE:HPE Helion OpenStack 8","SUSE:Linux Enterprise High Availability Extension 12 SP3","SUSE:Linux Enterprise High Availability Extension 12 SP4","SUSE:Linux Enterprise High Availability Extension 15","SUSE:Linux Enterprise High Availability Extension 15 SP1","SUSE:Linux Enterprise High Availability Extension 15 SP2","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise High Performance Computing 15-ESPOS","SUSE:Linux Enterprise High Performance Computing 15-LTSS","SUSE:Linux Enterprise Real Time 15 SP2","SUSE:Linux Enterprise Server 12 SP2-BCL","SUSE:Linux Enterprise Server 12 SP3-BCL","SUSE:Linux Enterprise Server 12 SP3-LTSS","SUSE:Linux Enterprise Server 12 SP4-LTSS","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server 15-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP3","SUSE:Linux Enterprise Server for SAP Applications 12 SP4","SUSE:Linux Enterprise Server for SAP Applications 15","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Manager Proxy 4.1","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Server 4.1","SUSE:OpenStack Cloud 8","SUSE:OpenStack Cloud 9","SUSE:OpenStack Cloud Crowbar 8","SUSE:OpenStack Cloud Crowbar 9"],"exploits":{"exploitdb":0,"first_seen":"2022-03-29","github_poc":4,"max_poc_stars":10,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-03-29T19:03:38Z","kind":"github_poc","ref":"https://github.com/horizon3ai/CVE-2021-44142","stars":10,"title":null},{"date":"2025-10-27T16:14:13Z","kind":"github_poc","ref":"https://github.com/Nxvh1337/CVE-2021-44142-vulnerable-lab","stars":3,"title":"CVE-2021-44142 vulnerable lab"},{"date":"2022-04-22T04:46:54Z","kind":"github_poc","ref":"https://github.com/gudyrmik/CVE-2021-44142","stars":1,"title":null},{"date":"2022-03-29T17:32:25Z","kind":"github_poc","ref":"https://github.com/hrsman/Samba-CVE-2021-44142","stars":0,"title":null}],"tier":"poc_unverified"},"has_fix":true,"headline":"Memory corruption in Samba","id":"CVE-2021-44142","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"canonical:ubuntu_linux","products":["canonical:ubuntu_linux","debian:debian_linux","fedoraproject:fedora","redhat:enterprise_linux","redhat:enterprise_linux_desktop","redhat:enterprise_linux_eus","redhat:enterprise_linux_for_ibm_z_systems","redhat:enterprise_linux_for_ibm_z_systems_eus","redhat:enterprise_linux_for_power_little_endian","redhat:enterprise_linux_for_power_little_endian_eus","redhat:enterprise_linux_for_scientific_computing","redhat:enterprise_linux_server","redhat:enterprise_linux_server_aus","redhat:enterprise_linux_server_tus","redhat:enterprise_linux_workstation","redhat:virtualization_host","samba:samba","synology:diskstation_manager"],"type":"memory_corruption","year":"2021"},"n_packages":627,"n_references":5,"next":{"headline":"Memory corruption in n/a","id":"CVE-2021-44143"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"libsmbclient","purl":"pkg:rpm/redhat/libsmbclient","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"libsmbclient-devel","purl":"pkg:rpm/redhat/libsmbclient-devel","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"libwbclient","purl":"pkg:rpm/redhat/libwbclient","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"libwbclient-devel","purl":"pkg:rpm/redhat/libwbclient-devel","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/redhat/samba","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-client","purl":"pkg:rpm/redhat/samba-client","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-client-libs","purl":"pkg:rpm/redhat/samba-client-libs","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-common","purl":"pkg:rpm/redhat/samba-common","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-common-libs","purl":"pkg:rpm/redhat/samba-common-libs","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-common-tools","purl":"pkg:rpm/redhat/samba-common-tools","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-dc","purl":"pkg:rpm/redhat/samba-dc","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-dc-libs","purl":"pkg:rpm/redhat/samba-dc-libs","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-debuginfo","purl":"pkg:rpm/redhat/samba-debuginfo","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-devel","purl":"pkg:rpm/redhat/samba-devel","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-krb5-printing","purl":"pkg:rpm/redhat/samba-krb5-printing","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-libs","purl":"pkg:rpm/redhat/samba-libs","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-pidl","purl":"pkg:rpm/redhat/samba-pidl","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-python","purl":"pkg:rpm/redhat/samba-python","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-python-test","purl":"pkg:rpm/redhat/samba-python-test","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-test","purl":"pkg:rpm/redhat/samba-test","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-test-libs","purl":"pkg:rpm/redhat/samba-test-libs","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-vfs-glusterfs","purl":"pkg:rpm/redhat/samba-vfs-glusterfs","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-winbind","purl":"pkg:rpm/redhat/samba-winbind","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-winbind-clients","purl":"pkg:rpm/redhat/samba-winbind-clients","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-winbind-krb5-locator","purl":"pkg:rpm/redhat/samba-winbind-krb5-locator","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::client","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-winbind-modules","purl":"pkg:rpm/redhat/samba-winbind-modules","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"libsmbclient-devel","purl":"pkg:rpm/redhat/libsmbclient-devel","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"libwbclient-devel","purl":"pkg:rpm/redhat/libwbclient-devel","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba","purl":"pkg:rpm/redhat/samba","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-dc","purl":"pkg:rpm/redhat/samba-dc","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-dc-libs","purl":"pkg:rpm/redhat/samba-dc-libs","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-debuginfo","purl":"pkg:rpm/redhat/samba-debuginfo","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-devel","purl":"pkg:rpm/redhat/samba-devel","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-krb5-printing","purl":"pkg:rpm/redhat/samba-krb5-printing","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-pidl","purl":"pkg:rpm/redhat/samba-pidl","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-python","purl":"pkg:rpm/redhat/samba-python","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-python-test","purl":"pkg:rpm/redhat/samba-python-test","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-test","purl":"pkg:rpm/redhat/samba-test","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-test-libs","purl":"pkg:rpm/redhat/samba-test-libs","source":"RHSA-2022:0328"},{"ecosystem":"Red Hat:enterprise_linux:7::computenode","fixed":["0:4.10.16-18.el7_9"],"introduced":["0"],"last_affected":[],"package":"samba-vfs-glusterfs","purl":"pkg:rpm/redhat/samba-vfs-glusterfs","source":"RHSA-2022:0328"}],"prev":{"headline":"Information disclosure in Samba","id":"CVE-2021-44141"},"products":["Samba"],"published":"2022-02-21","related":[{"cvss_score":9.8,"headline":"SaltStack Salt Authentication Bypass","id":"CVE-2020-11651","kev_date_added":"2021-11-03","published":"2020-04-30"},{"cvss_score":9.8,"headline":"OpenSMTPD Remote Code Execution","id":"CVE-2020-7247","kev_date_added":"2022-03-25","published":"2020-01-29"},{"cvss_score":9.8,"headline":"Exim Out-of-bounds Write","id":"CVE-2019-16928","kev_date_added":"2022-03-03","published":"2019-09-27"},{"cvss_score":9.8,"headline":"Exim Buffer Overflow","id":"CVE-2018-6789","kev_date_added":"2021-11-03","published":"2018-02-08"},{"cvss_score":9.8,"headline":"Oracle Java SE and Java SE Embedded Remote Code Execution","id":"CVE-2015-2590","kev_date_added":"2022-03-03","published":"2015-07-16"},{"cvss_score":9.8,"headline":"Oracle JRE Remote Code Execution","id":"CVE-2013-0422","kev_date_added":"2022-05-25","published":"2013-01-10"},{"cvss_score":9.8,"headline":"Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution","id":"CVE-2011-3544","kev_date_added":"2022-03-03","published":"2011-10-19"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-23","vendors":["Samba"]},"summary":"Remote attackers with write access to extended file attributes can execute arbitrary code as root via heap corruption in the Samba vfs_fruit module.","url":"https://insights.sbomify.com/CVE-2021-44142/"}