CVE-2021-43566: Samba - Race Condition
- Cve: CVE-2021-43566
- Name: Samba - Race Condition
- Description: 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.
- Impact: Attackers can create directories outside shared areas, potentially leading to unauthorized file system access or modification.
- Remediation: Update Samba to version 4.13.16 or later.
- Vulnerability type: race_condition
- Vulnerability impact: file_system_write
- Requirement type: none
- Labels source: projectdiscovery
- Severity: low
- Cvss score: 2.5
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
- Epss score: 0.00405
- Epss percentile: 0.35489
- Assignee: [email protected]
- Published at: 2022-01-11T16:15:07Z
- Age in days: 1778
- Modified at: 2026-06-17T04:11:08Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-43566
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-362 | Concurrent Execution using Shared Resource with Improper Synchronization |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://bugzilla.samba.org/show_bug.cgi?id=13979 | nvd | 2022-01-11 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://www.samba.org/samba/security/CVE-2021-43566.html | Patch, Vendor Advisory |
| https://bugzilla.samba.org/show_bug.cgi?id=13979 | Exploit, Issue Tracking, Vendor Advisory |
| https://security.netapp.com/advisory/ntap-20220110-0001/ | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| samba:samba | < 4.13.16 | no | nvd | /v1/products/samba/samba |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-01-11
- Authentication required: yes
- Exposed hosts: 61746
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports