CVE-2021-20251: Samba - Race Condition
- Cve: CVE-2021-20251
- Name: Samba - Race Condition
- Description: A flaw was found in samba. A race condition in the password lockout code may lead to the risk of brute force attacks being successful if special conditions are met.
- Impact: Attackers may successfully perform brute force attacks, gaining unauthorized access to systems.
- Remediation: Update Samba to the latest version where the race condition is fixed.
- Vulnerability type: race_condition
- Vulnerability impact: privilege_escalation
- Requirements: Exploit requires specific timing conditions
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.9
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- Epss score: 0.00758
- Epss percentile: 0.5596
- Assignee: [email protected]
- Published at: 2023-03-06T23:15:10Z
- Age in days: 1359
- Modified at: 2026-06-17T03:33:32Z
- Patch available: yes
- Public exploits total: 1
- References total: 4
- Products total: 2
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-20251
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirement type, 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=14611 | nvd | 2023-03-06 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://bugzilla.samba.org/show_bug.cgi?id=14611 | Exploit, Issue Tracking, Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=1929800 | Issue Tracking, Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20230331-0005/ | Third Party Advisory |
| https://security.gentoo.org/glsa/202309-06 |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| samba:samba | >= 4.17.0, < 4.17.4; >= 4.1.0, < 4.16.8 | no | nvd | /v1/products/samba/samba |
| fedoraproject:fedora | = 37 | no | nvd | /v1/products/fedoraproject/fedora |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2023-03-06
- Remote: yes
- Exposed hosts: 61746
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports