← Search CVEs

CVE-2021-20251

MEDIUM 5.9 ALL-YEARS

Published 2023-03-06 · Last modified 2025-03-06 · redhat · NVD: Modified

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.

LIMITED SIGNALS

Current sources show no confirmed exploitation or catalogued public PoC. Missing or low probability estimates do not establish safety. Track for changes.

Exploitation likelihood

0.8%chance of exploitation in 30 days · 56th percentile

○ In CISA KEV○ Catalogued PoC◆ SSVC: exploitation none, automatable no

Impact if exploited

5.9CVSS 3.1 · MEDIUM · NVD

  • ConfidentialityNone
  • IntegrityHigh
  • AvailabilityNone

What an attacker needs

  • ✓Access: Reachable over the network — no local access needed
  • ✓Privileges: No account or privileges required
  • ✓User interaction: No user interaction needed
  • ⚠Complexity: Needs a race window or specific setup

✓ lowers the bar for an attacker · ⚠ raises it

Proof of concept

No public PoC is currently catalogued.

Search for new PoCs

Search GitHub now — results may be empty or unverified.

Supported CVE and PoC feeds are scheduled every 30 minutes, including for older CVEs. Other enrichment runs daily or weekly; source availability can delay updates. A later release appears after a tracked source lists it and a refresh succeeds.

Affected

Vendors Samba Fedoraproject

Products Samba Fedora

Weakness (CWE)

  • CWE-362: Race condition

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

References and research data (JSON) · Change history

Vendor product assessments

Showing 32 of 170 vendor product statements; 138 omitted. Read the full vendor advisory.

  • libsmbclient as a component of Red Hat Enterprise Linux 6 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/libsmbclient

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba-doc as a component of Red Hat Enterprise Linux 6 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba-doc

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba-winbind-devel as a component of Red Hat Enterprise Linux 6 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba-winbind-devel

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba4-common as a component of Red Hat Enterprise Linux 6 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba4-common

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba4-python as a component of Red Hat Enterprise Linux 6 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba4-python

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba4-winbind-krb5-locator as a component of Red Hat Enterprise Linux 6 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba4-winbind-krb5-locator

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • libsmbclient-devel as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/libsmbclient-devel

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba-client-libs as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba-client-libs

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba-devel as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba-devel

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba-python-test as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba-python-test

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba-winbind-clients as a component of Red Hat Enterprise Linux 7 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba-winbind-clients

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • ctdb-tests as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/ctdb-tests

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • libwbclient as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/libwbclient

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba-common-tools as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba-common-tools

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba-libs as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba-libs

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba-usershares as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba-usershares

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba-winexe as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba-winexe

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • libldb-devel as a component of Red Hat Enterprise Linux 9 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/libldb-devel

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • libwbclient-devel as a component of Red Hat Enterprise Linux 9 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/libwbclient-devel

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • python3-samba-test as a component of Red Hat Enterprise Linux 9 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/python3-samba-test

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba-common-libs as a component of Red Hat Enterprise Linux 9 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba-common-libs

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba-krb5-printing as a component of Red Hat Enterprise Linux 9 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba-krb5-printing

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba-test-libs as a component of Red Hat Enterprise Linux 9 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba-test-libs

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba-winbind-krb5-locator as a component of Red Hat Enterprise Linux 9 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba-winbind-krb5-locator

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • ctdb-devel as a component of Red Hat Storage 3 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/ctdb-devel

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • python3-samba as a component of Red Hat Storage 3 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/python3-samba

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba-common-libs as a component of Red Hat Storage 3 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba-common-libs

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba-domainjoin-gui as a component of Red Hat Storage 3 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba-domainjoin-gui

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba-python as a component of Red Hat Storage 3 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba-python

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba-winbind as a component of Red Hat Storage 3 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba-winbind

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00
  • samba.src as a component of Red Hat Storage 3 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/samba?arch=src

    Red Hat · CVE-2021-20251 · Updated 2026-11-07T13:21:21+00:00

Known Affected Software Configurations

VendorProductVersion range
SambaSamba≥ 4.1.0 and < 4.16.8
SambaSamba≥ 4.17.0 and < 4.17.4
FedoraprojectFedora37

References

Exploit-tagged references (not proof of a PoC)

Advisories

Technical & other

Sources: NVD · CVE.org · All sources and attribution · EPSS