CVE-2021-23192: Input Validation

Published Nov 3, 2021
·
Updated

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.

Other sources

As per upstream advisory:

Samba implements DCE/RPC, and in most cases it is provided over and protected by the underlying SMB transport, with protections like 'SMB signing'.

However there are other cases where large DCE/RPC request payloads are exchanged and fragmented into several pieces. If this happens over untrusted transports (e.g. directly over TCP/IP or anonymous SMB) clients will typically protect by an explicit authentication at the DCE/RPC layer, e.g. with GSSAPI/Kerberos/NTLMSSP or Netlogn Secure Channel.

Because the checks on the fragment protection were not done between the policy controls on the header and the subsequent fragments, an attacker could replace subsequent fragments in requests with their own data, which might be able to alter the server behaviour.

Red Hat

Affected Software

10 affected componentsFixes available
redhat/samba<0:4.14.5-7.el8_5
0:4.14.5-7.el8_5
redhat/samba<0:4.13.3-8.el8_4
0:4.13.3-8.el8_4
redhat/samba<0:4.14.5-204.el8
0:4.14.5-204.el8
redhat/samba<4.15.2
4.15.2
redhat/samba<4.14.10
4.14.10
redhat/samba<4.13.14
4.13.14
Samba Samba>=4.10.0<4.13.14
Samba Samba>=4.14.0<4.14.10
Samba Samba>=4.15.0<4.15.2
debian/samba
2:4.13.13+dfsg-1~deb11u62:4.13.13+dfsg-1~deb11u72:4.17.12+dfsg-0+deb12u32:4.17.12+dfsg-0+deb12u12:4.22.6+dfsg-0+deb13u12:4.23.6+dfsg-1

Remediation

Information

Setting ~~~ dcesrv:max auth states=0 ~~~ in the smb.conf will provide some mitigation against this issue.

Event History

Nov 9, 2021
CVE Published
12:00 AM
Mar 2, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Data Sourced
via NVD·11:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jan 11, 2024
Data Sourced
via Launchpad·11:54 PM
Description
Feb 24, 2026
Data Sourced
via Ubuntu·05:00 PM
RemedyDescriptionSeverityAffected Software
Mar 1, 2026
Data Sourced
via Debian·05:05 PM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-23192?

CVE-2021-23192 is a vulnerability found in the way Samba implemented DCE/RPC, allowing an attacker to bypass signature requirements.

2

What is the severity of CVE-2021-23192?

The severity of CVE-2021-23192 is high, with a severity value of 7.5.

3

Which software versions are affected by CVE-2021-23192?

Samba versions up to 4.15.2, 4.14.10, and 4.13.14 are affected by CVE-2021-23192.

4

How can an attacker exploit CVE-2021-23192?

An attacker can exploit CVE-2021-23192 by sending a large DCE/RPC request to a Samba server and replacing later fragments with their own data.

5

Where can I find more information about CVE-2021-23192?

You can find more information about CVE-2021-23192 on the Red Hat Bugzilla and Red Hat Security websites.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203