CVE-2021-3738: Use After Free

Published Nov 10, 2021
·
Updated

As per upstream report:

In DCE/RPC it is possible to share the handles (cookies for resource state) between multiple connections via a mechanism called 'association groups'. These handles can reference connections to our sam.ldb database. However while the database was correctly shared, the user credentials state was only pointed at, and when one connection within that association group ended, the database would be left pointing at an invalid 'struct sessioninfo'.

The most likely outcome here is a crash, but it is possible that the use-after-free could instead allow different user state to be pointed at and this might allow more privileged access.

Affected Software

7 affected componentsFixes available
redhat/samba<4.15.2
4.15.2
redhat/samba<4.14.10
4.14.10
redhat/samba<4.13.14
4.13.14
debian/samba
2:4.13.13+dfsg-1~deb11u62:4.17.12+dfsg-0+deb12u12:4.21.1+dfsg-2
Samba Samba>=4.0.0<4.13.14
Samba Samba>=4.14.0<4.14.10
Samba Samba>=4.15.0<4.15.2

Event History

Mar 2, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionWeakness
Jan 11, 2024
Data Sourced
via Launchpad·11:58 PM
Description
Sep 16, 2024
Data Sourced
via Ubuntu·01:24 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2021-3738?

CVE-2021-3738 is a vulnerability in DCE/RPC that allows the sharing of handles (cookies for resource state) between multiple connections via association groups.

2

How does CVE-2021-3738 affect Samba?

CVE-2021-3738 affects Samba versions between 4.0.0 and 4.15.2.

3

What is the severity of CVE-2021-3738?

The severity of CVE-2021-3738 is high with a CVSS score of 8.8.

4

How can I fix CVE-2021-3738 in Samba?

To fix CVE-2021-3738 in Samba, update to version 4.15.2 or apply the appropriate patch provided by the vendor.

5

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

More information about CVE-2021-3738 can be found in the following references: [link1], [link2], [link3].

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