CVE-2021-20251 Race condition in samba

Medium 5.9 Published Updated

A race condition in Samba's password lockout mechanism allows attackers to bypass lockout restrictions and successfully perform brute force attacks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-20251?

CVE-2021-20251 is a medium-severity vulnerability in Fedoraproject Fedora, published on 6 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-362

Which versions are affected by CVE-2021-20251?

It affects 2 products.

Linux distribution packages (1)
samba openSUSE:TumbleweedAll versions4.17.1+git.270.17afe7cb6b-1.1

Products include Fedoraproject Fedora, Samba Samba.

How do I fix CVE-2021-20251?

Apply the vendor's patch.

Is CVE-2021-20251 being exploited?

There is no known exploitation of CVE-2021-20251 in the wild and no public exploit code.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as AZL-27917, AZL-36998, CLSA-2026-1779354406, CLSA-2026-1779354817, CLSA-2026-1779365436, DEBIAN-CVE-2021-20251 and 4 more.

Is CVE-2021-20251 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free