CVE-2021-3738

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*

History

10 Mar 2022, 14:59

Type Values Removed Values Added
CWE CWE-416
CVSS v2 : unknown
v3 : unknown
v2 : 6.5
v3 : 8.8
CPE cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:*
References (MISC) https://bugzilla.samba.org/show_bug.cgi?id=14468 - (MISC) https://bugzilla.samba.org/show_bug.cgi?id=14468 - Issue Tracking, Patch, Vendor Advisory
References (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=2021726 - (MISC) https://bugzilla.redhat.com/show_bug.cgi?id=2021726 - Issue Tracking, Third Party Advisory
References (MISC) https://www.samba.org/samba/security/CVE-2021-3738.html - (MISC) https://www.samba.org/samba/security/CVE-2021-3738.html - Vendor Advisory

02 Mar 2022, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2022-03-02 23:15

Updated : 2024-02-04 22:29


NVD link : CVE-2021-3738

Mitre link : CVE-2021-3738

CVE.ORG link : CVE-2021-3738


JSON object : View

Products Affected

samba

  • samba
CWE
CWE-416

Use After Free