CVE-2021-3738
HIGHSamba 4.0.0-4.13.14 - Use-After-Free in DCE/RPC Association Groups
Title source: llmDescription
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.
References (4)
Core 4
Core References
Third Party Advisory vendor-advisory
https://security.gentoo.org/glsa/202309-06
Issue Tracking, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2021726
Issue Tracking, Patch, Vendor Advisory
https://bugzilla.samba.org/show_bug.cgi?id=14468
Vendor Advisory
https://www.samba.org/samba/security/CVE-2021-3738.html
Scores
CVSS v3
8.8
EPSS
0.0040
EPSS Percentile
60.9%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-416
Status
published
Products (1)
samba/samba
4.0.0 - 4.13.14
Published
Mar 02, 2022
Tracked Since
Feb 18, 2026