CVE-2021-43566
Reported by mitre · Published January 11, 2022
All versions of Samba prior to 4.13.16 are vulnerable to a malicious client using an SMB1 or NFS race to allow a directory to be created in an area of the server file system not exported under the share definition. Note that SMB1 has to be enabled, or the share also available via NFS in order for this attack to succeed.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libnetapi | Amazon Linux | 2:4.17.5-0.amzn2023.0.2 |
| samba-winbind-krb5-locator | Amazon Linux | 4.10.16-24.amzn2.0.5 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2023 | libnetapi | 0 |
| amazon:2 | samba-winbind-krb5-locator | 0 |
| n/a | n/a | * |
| amazon:2023 | samba-common-libs | 0 |
| amazon:2023 | samba-krb5-printing | 0 |
| amazon:2023 | samba-winbind-modules | 0 |
| amazon:2 | ctdb | 0 |
| amazon:2023 | samba-libs | 0 |
| amazon:2 | ctdb-tests | 0 |
| amazon:2 | samba-krb5-printing | 0 |
| amazon:2023 | samba-client-libs | 0 |
| amazon:2 | libwbclient | 0 |
| amazon:2023 | samba-dcerpc | 0 |
| amazon:2 | samba-client | 0 |
| amazon:2 | libsmbclient | 0 |
| amazon:2 | samba-winbind-modules | 0 |
| amazon:2 | samba-client-libs | 0 |
| amazon:2 | samba-python | 0 |
| amazon:2023 | samba-winbind-clients | 0 |
…and 40 more
Timeline
- Jan 9, 2022 CVE Published
- Jan 12, 2022 EPSS Score (30 in total, the first dated here)
- Apr 29, 2026 Security Advisory (3 in total, the first dated here)
- Jul 17, 2026 Coalition ESS Score
- Nov 22, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-43566
vulnetix vdb fixes CVE-2021-43566
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-43566/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart