Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Samba | Samba | >= 4.0.0, < 4.13.14 |
Related Weaknesses (CWE)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2021726Issue TrackingThird Party Advisory
- https://bugzilla.samba.org/show_bug.cgi?id=14468Issue TrackingPatchVendor Advisory
- https://security.gentoo.org/glsa/202309-06
- https://www.samba.org/samba/security/CVE-2021-3738.htmlVendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2021726Issue TrackingThird Party Advisory
- https://bugzilla.samba.org/show_bug.cgi?id=14468Issue TrackingPatchVendor Advisory
- https://security.gentoo.org/glsa/202309-06
- https://www.samba.org/samba/security/CVE-2021-3738.htmlVendor Advisory
FAQ
What is CVE-2021-3738?
CVE-2021-3738 is a vulnerability with a CVSS score of 8.8 (HIGH). 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...
How severe is CVE-2021-3738?
CVE-2021-3738 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-3738?
Check the references section above for vendor advisories and patch information. Affected products include: Samba Samba.