CVE-2021-3738 Details
Description
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 session_info'. 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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bugzilla.redhat.com/show_bug.cgi?id=2021726 | CVE | Issue TrackingThird Party Advisory |
| https://bugzilla.samba.org/show_bug.cgi?id=14468 | CVE | Issue TrackingPatchVendor Advisory |
| https://security.gentoo.org/glsa/202309-06 | CVE | |
| https://www.samba.org/samba/security/CVE-2021-3738.html | CVE | Vendor Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=2021726 | [email protected] | Issue TrackingThird Party Advisory |
| https://bugzilla.samba.org/show_bug.cgi?id=14468 | [email protected] | Issue TrackingPatchVendor Advisory |
| https://security.gentoo.org/glsa/202309-06 | [email protected] | |
| https://www.samba.org/samba/security/CVE-2021-3738.html | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-416 | Use After Free | [email protected] |
| CWE-416 | Use After Free | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| samba samba | >= 4.0.0, < 4.13.14 >= 4.14.0, < 4.14.10 >= 4.15.0, < 4.15.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Sep 17, 2023 | CVE Modified | [email protected] |
| Mar 10, 2022 | Initial Analysis | [email protected] |