ubuntu-cve-2021-44142
Vulnerability from osv_ubuntu
Published
2022-01-31 00:00
Modified
2026-04-22 07:40
Summary
Details
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.
Severity
8.8 (High)
8.8 (High)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "libnss-winbind",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12"
},
{
"binary_name": "libpam-smbpass",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12"
},
{
"binary_name": "libpam-winbind",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12"
},
{
"binary_name": "libparse-pidl-perl",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12"
},
{
"binary_name": "libsmbclient",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12"
},
{
"binary_name": "libsmbsharemodes0",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12"
},
{
"binary_name": "libwbclient0",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12"
},
{
"binary_name": "python-samba",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12"
},
{
"binary_name": "registry-tools",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12"
},
{
"binary_name": "samba",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12"
},
{
"binary_name": "samba-common",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12"
},
{
"binary_name": "samba-common-bin",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12"
},
{
"binary_name": "samba-dsdb-modules",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12"
},
{
"binary_name": "samba-libs",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12"
},
{
"binary_name": "samba-testsuite",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12"
},
{
"binary_name": "samba-vfs-modules",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12"
},
{
"binary_name": "smbclient",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12"
},
{
"binary_name": "winbind",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:14.04:LTS",
"name": "samba",
"purl": "pkg:deb/ubuntu/samba@2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12?arch=source\u0026distro=trusty/esm"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2:4.3.11+dfsg-0ubuntu0.14.04.20+esm12"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:3.6.18-1ubuntu3",
"2:4.0.10+dfsg-4ubuntu2",
"2:4.0.13+dfsg-1ubuntu1",
"2:4.1.3+dfsg-2ubuntu2",
"2:4.1.3+dfsg-2ubuntu3",
"2:4.1.3+dfsg-2ubuntu4",
"2:4.1.3+dfsg-2ubuntu5",
"2:4.1.6+dfsg-1ubuntu1",
"2:4.1.6+dfsg-1ubuntu2",
"2:4.1.6+dfsg-1ubuntu2.14.04.1",
"2:4.1.6+dfsg-1ubuntu2.14.04.2",
"2:4.1.6+dfsg-1ubuntu2.14.04.3",
"2:4.1.6+dfsg-1ubuntu2.14.04.4",
"2:4.1.6+dfsg-1ubuntu2.14.04.5",
"2:4.1.6+dfsg-1ubuntu2.14.04.7",
"2:4.1.6+dfsg-1ubuntu2.14.04.8",
"2:4.1.6+dfsg-1ubuntu2.14.04.9",
"2:4.1.6+dfsg-1ubuntu2.14.04.11",
"2:4.1.6+dfsg-1ubuntu2.14.04.12",
"2:4.1.6+dfsg-1ubuntu2.14.04.13",
"2:4.3.8+dfsg-0ubuntu0.14.04.2",
"2:4.3.9+dfsg-0ubuntu0.14.04.1",
"2:4.3.9+dfsg-0ubuntu0.14.04.3",
"2:4.3.11+dfsg-0ubuntu0.14.04.1",
"2:4.3.11+dfsg-0ubuntu0.14.04.2",
"2:4.3.11+dfsg-0ubuntu0.14.04.3",
"2:4.3.11+dfsg-0ubuntu0.14.04.4",
"2:4.3.11+dfsg-0ubuntu0.14.04.6",
"2:4.3.11+dfsg-0ubuntu0.14.04.7",
"2:4.3.11+dfsg-0ubuntu0.14.04.8",
"2:4.3.11+dfsg-0ubuntu0.14.04.9",
"2:4.3.11+dfsg-0ubuntu0.14.04.10",
"2:4.3.11+dfsg-0ubuntu0.14.04.11",
"2:4.3.11+dfsg-0ubuntu0.14.04.12",
"2:4.3.11+dfsg-0ubuntu0.14.04.13",
"2:4.3.11+dfsg-0ubuntu0.14.04.14",
"2:4.3.11+dfsg-0ubuntu0.14.04.16",
"2:4.3.11+dfsg-0ubuntu0.14.04.17",
"2:4.3.11+dfsg-0ubuntu0.14.04.19",
"2:4.3.11+dfsg-0ubuntu0.14.04.20",
"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm1",
"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm2",
"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm3",
"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm4",
"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm6",
"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm7",
"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm8",
"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm9",
"2:4.3.11+dfsg-0ubuntu0.14.04.20+esm11"
]
},
{
"ecosystem_specific": {
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_name": "ctdb",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1"
},
{
"binary_name": "libnss-winbind",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1"
},
{
"binary_name": "libpam-winbind",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1"
},
{
"binary_name": "libparse-pidl-perl",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1"
},
{
"binary_name": "libsmbclient",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1"
},
{
"binary_name": "libwbclient0",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1"
},
{
"binary_name": "python-samba",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1"
},
{
"binary_name": "registry-tools",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1"
},
{
"binary_name": "samba",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1"
},
{
"binary_name": "samba-common",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1"
},
{
"binary_name": "samba-common-bin",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1"
},
{
"binary_name": "samba-dsdb-modules",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1"
},
{
"binary_name": "samba-libs",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1"
},
{
"binary_name": "samba-testsuite",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1"
},
{
"binary_name": "samba-vfs-modules",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1"
},
{
"binary_name": "smbclient",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1"
},
{
"binary_name": "winbind",
"binary_version": "2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:16.04:LTS",
"name": "samba",
"purl": "pkg:deb/ubuntu/samba@2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1?arch=source\u0026distro=esm-infra/xenial"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2:4.3.11+dfsg-0ubuntu0.16.04.34+esm1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:4.1.17+dfsg-4ubuntu2",
"2:4.1.20+dfsg-1ubuntu1",
"2:4.1.20+dfsg-1ubuntu2",
"2:4.1.20+dfsg-1ubuntu3",
"2:4.1.20+dfsg-1ubuntu5",
"2:4.3.3+dfsg-1ubuntu1",
"2:4.3.3+dfsg-1ubuntu2",
"2:4.3.3+dfsg-1ubuntu3",
"2:4.3.6+dfsg-1ubuntu1",
"2:4.3.8+dfsg-0ubuntu1",
"2:4.3.9+dfsg-0ubuntu0.16.04.1",
"2:4.3.9+dfsg-0ubuntu0.16.04.2",
"2:4.3.9+dfsg-0ubuntu0.16.04.3",
"2:4.3.11+dfsg-0ubuntu0.16.04.1",
"2:4.3.11+dfsg-0ubuntu0.16.04.3",
"2:4.3.11+dfsg-0ubuntu0.16.04.5",
"2:4.3.11+dfsg-0ubuntu0.16.04.6",
"2:4.3.11+dfsg-0ubuntu0.16.04.7",
"2:4.3.11+dfsg-0ubuntu0.16.04.8",
"2:4.3.11+dfsg-0ubuntu0.16.04.9",
"2:4.3.11+dfsg-0ubuntu0.16.04.10",
"2:4.3.11+dfsg-0ubuntu0.16.04.11",
"2:4.3.11+dfsg-0ubuntu0.16.04.12",
"2:4.3.11+dfsg-0ubuntu0.16.04.13",
"2:4.3.11+dfsg-0ubuntu0.16.04.15",
"2:4.3.11+dfsg-0ubuntu0.16.04.16",
"2:4.3.11+dfsg-0ubuntu0.16.04.17",
"2:4.3.11+dfsg-0ubuntu0.16.04.18",
"2:4.3.11+dfsg-0ubuntu0.16.04.19",
"2:4.3.11+dfsg-0ubuntu0.16.04.20",
"2:4.3.11+dfsg-0ubuntu0.16.04.21",
"2:4.3.11+dfsg-0ubuntu0.16.04.23",
"2:4.3.11+dfsg-0ubuntu0.16.04.24",
"2:4.3.11+dfsg-0ubuntu0.16.04.25",
"2:4.3.11+dfsg-0ubuntu0.16.04.26",
"2:4.3.11+dfsg-0ubuntu0.16.04.27",
"2:4.3.11+dfsg-0ubuntu0.16.04.28",
"2:4.3.11+dfsg-0ubuntu0.16.04.29",
"2:4.3.11+dfsg-0ubuntu0.16.04.30",
"2:4.3.11+dfsg-0ubuntu0.16.04.31",
"2:4.3.11+dfsg-0ubuntu0.16.04.32",
"2:4.3.11+dfsg-0ubuntu0.16.04.34"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "ctdb",
"binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.28"
},
{
"binary_name": "libnss-winbind",
"binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.28"
},
{
"binary_name": "libpam-winbind",
"binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.28"
},
{
"binary_name": "libparse-pidl-perl",
"binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.28"
},
{
"binary_name": "libsmbclient",
"binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.28"
},
{
"binary_name": "libwbclient0",
"binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.28"
},
{
"binary_name": "python-samba",
"binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.28"
},
{
"binary_name": "registry-tools",
"binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.28"
},
{
"binary_name": "samba",
"binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.28"
},
{
"binary_name": "samba-common",
"binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.28"
},
{
"binary_name": "samba-common-bin",
"binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.28"
},
{
"binary_name": "samba-dsdb-modules",
"binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.28"
},
{
"binary_name": "samba-libs",
"binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.28"
},
{
"binary_name": "samba-testsuite",
"binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.28"
},
{
"binary_name": "samba-vfs-modules",
"binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.28"
},
{
"binary_name": "smbclient",
"binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.28"
},
{
"binary_name": "winbind",
"binary_version": "2:4.7.6+dfsg~ubuntu-0ubuntu2.28"
}
]
},
"package": {
"ecosystem": "Ubuntu:18.04:LTS",
"name": "samba",
"purl": "pkg:deb/ubuntu/samba@2:4.7.6+dfsg~ubuntu-0ubuntu2.28?arch=source\u0026distro=bionic"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2:4.7.6+dfsg~ubuntu-0ubuntu2.28"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:4.6.7+dfsg-1ubuntu3",
"2:4.7.1+dfsg-1ubuntu1",
"2:4.7.3+dfsg-1ubuntu1",
"2:4.7.4+dfsg-1ubuntu1",
"2:4.7.6+dfsg~ubuntu-0ubuntu1",
"2:4.7.6+dfsg~ubuntu-0ubuntu2",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.2",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.4",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.5",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.6",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.7",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.9",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.10",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.11",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.13",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.14",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.15",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.16",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.17",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.18",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.19",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.20",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.21",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.23",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.24",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.26",
"2:4.7.6+dfsg~ubuntu-0ubuntu2.27"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "ctdb",
"binary_version": "2:4.13.17~dfsg-0ubuntu0.21.04.1"
},
{
"binary_name": "libnss-winbind",
"binary_version": "2:4.13.17~dfsg-0ubuntu0.21.04.1"
},
{
"binary_name": "libpam-winbind",
"binary_version": "2:4.13.17~dfsg-0ubuntu0.21.04.1"
},
{
"binary_name": "libsmbclient",
"binary_version": "2:4.13.17~dfsg-0ubuntu0.21.04.1"
},
{
"binary_name": "libwbclient0",
"binary_version": "2:4.13.17~dfsg-0ubuntu0.21.04.1"
},
{
"binary_name": "python3-samba",
"binary_version": "2:4.13.17~dfsg-0ubuntu0.21.04.1"
},
{
"binary_name": "registry-tools",
"binary_version": "2:4.13.17~dfsg-0ubuntu0.21.04.1"
},
{
"binary_name": "samba",
"binary_version": "2:4.13.17~dfsg-0ubuntu0.21.04.1"
},
{
"binary_name": "samba-common",
"binary_version": "2:4.13.17~dfsg-0ubuntu0.21.04.1"
},
{
"binary_name": "samba-common-bin",
"binary_version": "2:4.13.17~dfsg-0ubuntu0.21.04.1"
},
{
"binary_name": "samba-dsdb-modules",
"binary_version": "2:4.13.17~dfsg-0ubuntu0.21.04.1"
},
{
"binary_name": "samba-libs",
"binary_version": "2:4.13.17~dfsg-0ubuntu0.21.04.1"
},
{
"binary_name": "samba-testsuite",
"binary_version": "2:4.13.17~dfsg-0ubuntu0.21.04.1"
},
{
"binary_name": "samba-vfs-modules",
"binary_version": "2:4.13.17~dfsg-0ubuntu0.21.04.1"
},
{
"binary_name": "smbclient",
"binary_version": "2:4.13.17~dfsg-0ubuntu0.21.04.1"
},
{
"binary_name": "winbind",
"binary_version": "2:4.13.17~dfsg-0ubuntu0.21.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "samba",
"purl": "pkg:deb/ubuntu/samba@2:4.13.17~dfsg-0ubuntu0.21.04.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2:4.13.17~dfsg-0ubuntu0.21.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2:4.10.7+dfsg-0ubuntu2",
"2:4.10.7+dfsg-0ubuntu3",
"2:4.11.1+dfsg-3ubuntu1",
"2:4.11.1+dfsg-3ubuntu2",
"2:4.11.1+dfsg-3ubuntu4",
"2:4.11.5+dfsg-1ubuntu1",
"2:4.11.5+dfsg-1ubuntu2",
"2:4.11.6+dfsg-0ubuntu1",
"2:4.11.6+dfsg-0ubuntu1.1",
"2:4.11.6+dfsg-0ubuntu1.2",
"2:4.11.6+dfsg-0ubuntu1.3",
"2:4.11.6+dfsg-0ubuntu1.4",
"2:4.11.6+dfsg-0ubuntu1.5",
"2:4.11.6+dfsg-0ubuntu1.6",
"2:4.11.6+dfsg-0ubuntu1.8",
"2:4.11.6+dfsg-0ubuntu1.9",
"2:4.11.6+dfsg-0ubuntu1.10",
"2:4.13.14+dfsg-0ubuntu0.20.04.1",
"2:4.13.14+dfsg-0ubuntu0.20.04.2",
"2:4.13.14+dfsg-0ubuntu0.20.04.3",
"2:4.13.14+dfsg-0ubuntu0.20.04.4"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2021-44142",
"modified": "2026-04-22T07:40:11Z",
"published": "2022-01-31T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2021-44142"
},
{
"type": "REPORT",
"url": "https://www.samba.org/samba/security/CVE-2021-44142.html"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-5260-1"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-5260-2"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-5260-3"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-44142"
}
],
"related": [
"USN-5260-1",
"USN-5260-2",
"USN-5260-3"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
},
{
"score": "high",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2021-44142"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…