CVE-2021-3738
Severity CVSS v4.0:
Pending analysis
Type:
CWE-416
Use After Free
Publication date:
02/03/2022
Last modified:
17/09/2023
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.
Impact
Base Score 3.x
8.80
Severity 3.x
HIGH
Base Score 2.0
6.50
Severity 2.0
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* | 4.0.0 (including) | 4.13.14 (excluding) |
| cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* | 4.14.0 (including) | 4.14.10 (excluding) |
| cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* | 4.15.0 (including) | 4.15.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



