CVE-2021-3738: Use After Free
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
Remediation
Patch Available
Event History
Frequently Asked Questions
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.
How does CVE-2021-3738 affect Samba?
CVE-2021-3738 affects Samba versions between 4.0.0 and 4.15.2.
What is the severity of CVE-2021-3738?
The severity of CVE-2021-3738 is high with a CVSS score of 8.8.
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.
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].