cve.bz

CVE-2021-23192 samba samba: Improper Input Validation

7.5 highEPSS 2.0%Fix available

High (7.5) in samba samba. EPSS 2.0% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in the way samba implemented DCE/RPC. If a client to a Samba server sent a very large DCE/RPC request, and chose to fragment it, an attacker could replace later fragments with their own data, bypassing the signature requirements.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
2.0% (unchanged from 2.0% a week ago; 2.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 81st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-23192 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-23192?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-23192?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-23192 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
samba:sambafrom 4.10.0 before 4.13.14
samba:sambafrom 4.14.0 before 4.14.10
samba:sambafrom 4.15.0 before 4.15.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11samba2:4.13.13+dfsg-1~deb11u2DSA-5003-1
Debian12, 13, 14samba2:4.13.14+dfsg-1DEBIAN-CVE-2021-23192
Ubuntu20.04:LTSsamba2:4.13.14+dfsg-0ubuntu0.20.04.1UBUNTU-CVE-2021-23192 USN-5142-1
Ubuntu22.04:LTSsamba2:4.13.14+dfsg-0ubuntu1UBUNTU-CVE-2021-23192
Red Hatenterprise_linux:8::appstreamctdb-debuginfo, samba-debuginfo, samba-debugsource and 18 more0:4.14.5-7.el8_5RHSA-2021:5082
Red Hatenterprise_linux:8::baseosctdb, samba, samba-libs and 38 more0:4.14.5-7.el8_5RHSA-2021:5082
Red Hatenterprise_linux:8::crbsamba-devel, ctdb-debuginfo, samba-debuginfo and 20 more0:4.14.5-7.el8_5RHSA-2021:5082
Red Hatrhel_eus:8.4::baseosctdb, samba, ctdb-tests and 40 more0:4.13.3-8.el8_4RHSA-2022:0008
Red Hatrhel_eus:8.4::crbsamba-devel, ctdb-debuginfo, samba-debuginfo and 21 more0:4.13.3-8.el8_4RHSA-2022:0008
Red Hatstorage:3.5:samba:el8ctdb, samba, samba-libs and 39 more0:4.14.5-204.el8rhgsRHSA-2021:4843
SUSEEnterprise Storage 7ldb2.2.2-4.6.1SUSE-SU-2022:0361-1
SUSEEnterprise Storage 7samba4.13.13+git.545.5897c2d94f3-3.12.1SUSE-SU-2022:0361-1
SUSELinux Enterprise High Availability Extension 12 SP5, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5 and 1 moresamba4.10.18+git.339.c912385a5e1-3.41.1SUSE-SU-2021:3649-1
SUSELinux Enterprise High Availability Extension 15 SP2, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Python 2 15 SP2samba4.11.14+git.308.666c63d4eea-4.28.1SUSE-SU-2021:3650-1
SUSELinux Enterprise High Availability Extension 15 SP3, Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Python 2 15 SP3samba4.13.13+git.528.140935f8d6a-3.12.1SUSE-SU-2021:3647-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3ldb2.2.2-3.3.1SUSE-SU-2021:3647-1
openSUSELeap 15.2samba4.11.14+git.308.666c63d4eea-lp152.3.28.1openSUSE-SU-2021:1471-1
openSUSELeap 15.3ldb2.2.2-3.3.1openSUSE-SU-2021:3647-1
openSUSELeap 15.3samba4.11.14+git.308.666c63d4eea-4.28.1openSUSE-SU-2021:3650-1
openSUSELeap 15.3samba4.13.13+git.528.140935f8d6a-3.12.1openSUSE-SU-2021:3647-1
openSUSETumbleweedsamba4.15.2+git.193.a4d6307f1fd-1.1openSUSE-SU-2024:11631-1
AlmaLinux8samba-devel, libwbclient-devel, samba-vfs-iouring and 1 more4.14.5-7.el8_5ALSA-2021:5082
Rocky Linux8samba0:4.14.5-7.el8_5RLSA-2021:5082
Alpinev3.13samba4.13.17-r0ALPINE-CVE-2021-23192
Alpinev3.14samba4.14.12-r0ALPINE-CVE-2021-23192
Alpinev3.15, v3.16, v3.17 and 7 moresamba4.15.2-r0ALPINE-CVE-2021-23192
Azure Linux2sambano fix listedAZL-8903
Azure Linux3samba4.18.3-1AZL-37002

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Setting

~~~

dcesrv:max auth states=0

~~~

in the smb.conf will provide some mitigation against this issue.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8samba-0:4.14.5-7.el8_5Fixed 2021-12-13RHSA-2021:5082
Red Hat Enterprise Linux 8.4 Extended Update Supportsamba-0:4.13.3-8.el8_4Fixed 2022-01-04RHSA-2022:0008
Red Hat Gluster Storage 3.5 for RHEL 8samba-0:4.14.5-204.el8rhgsFixed 2021-11-29RHSA-2021:4843
Red Hat Enterprise Linux 6sambaNot affected
Red Hat Enterprise Linux 7sambaNot affected
Red Hat Enterprise Linux 9sambaNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-23192.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON