{"id":"CVE-2021-44142","state":"PUBLISHED","title":"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 fileser","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.","publishedAt":"2022-02-21T14:30:12.659Z","updatedAt":"2025-04-23T19:02:19.767Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"redhat","products":["Samba Samba"],"affected":[{"vendor":"Samba","product":"Samba","versions":[{"version":"unspecified","status":"affected","lessThan":"4.13.17","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"4.14.12","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"4.15.5","versionType":"custom"}]}],"references":["https://www.samba.org/samba/security/CVE-2021-44142.html","https://www.zerodayinitiative.com/blog/2022/2/1/cve-2021-44142-details-on-a-samba-code-execution-bug-demonstrated-at-pwn2own-austin","https://kb.cert.org/vuls/id/119678","https://bugzilla.samba.org/show_bug.cgi?id=14914","https://security.gentoo.org/glsa/202309-06","https://www.kb.cert.org/vuls/id/119678"],"weaknesses":["CWE-125","CWE-787"],"ingestedAt":"2026-10-29T19:49:10.699Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2021/44xxx/CVE-2021-44142.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2021-44142","state":"PUBLISHED","datePublished":"2022-02-21T14:30:12.659Z","dateUpdated":"2025-04-23T19:02:19.767Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2021-11-22T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Samba","product":"Samba","versions":[{"version":"unspecified","status":"affected","lessThan":"4.13.17","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"4.14.12","versionType":"custom"},{"version":"unspecified","status":"affected","lessThan":"4.15.5","versionType":"custom"}]}],"references":[{"url":"https://www.samba.org/samba/security/CVE-2021-44142.html"},{"url":"https://www.zerodayinitiative.com/blog/2022/2/1/cve-2021-44142-details-on-a-samba-code-execution-bug-demonstrated-at-pwn2own-austin"},{"url":"https://kb.cert.org/vuls/id/119678","tags":["third-party-advisory"]},{"url":"https://bugzilla.samba.org/show_bug.cgi?id=14914"},{"url":"https://security.gentoo.org/glsa/202309-06","name":"GLSA-202309-06","tags":["vendor-advisory"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","type":"CWE","lang":"en","description":"CWE-125 Out-of-bounds Read"}]},{"descriptions":[{"cweId":"CWE-787","type":"CWE","lang":"en","description":"CWE-787 Out-of-bounds Write"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2023-09-17T08:06:35.393Z"},"datePublic":"2022-01-31T00:00:00.000Z","x_generator":{"engine":"Vulnogram 0.0.9"},"source":{"discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.kb.cert.org/vuls/id/119678"},{"url":"https://www.samba.org/samba/security/CVE-2021-44142.html","tags":["x_transferred"]},{"url":"https://www.zerodayinitiative.com/blog/2022/2/1/cve-2021-44142-details-on-a-samba-code-execution-bug-demonstrated-at-pwn2own-austin","tags":["x_transferred"]},{"url":"https://kb.cert.org/vuls/id/119678","tags":["third-party-advisory","x_transferred"]},{"url":"https://bugzilla.samba.org/show_bug.cgi?id=14914","tags":["x_transferred"]},{"url":"https://security.gentoo.org/glsa/202309-06","name":"GLSA-202309-06","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T04:17:24.423Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":8.8,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-04-23T13:30:59.386639Z","id":"CVE-2021-44142","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-23T19:02:19.767Z"}}]}}}