CVE Database
/

CVE-2021-3738

Back to search

CVE-2021-3738

Published: Mar 2, 2022

Modified: Aug 3, 2024

PUBLISHED

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.

VendorProductVersions

n/a

samba

affected
Affects all versions since samba 4.0 | Fixedin samba v4.15.2, v4.14.10 and v4.13.14

Weaknesses (CWE)

Security Training

Train your team to recognize and prevent security threats with our comprehensive security awareness program.

Start Training

Vulnerability Scanning

Discover vulnerabilities in your applications and infrastructure before attackers do.

Scan Now