CVEvulnerability

CVE-2021-3738

8.8 HIGH Published 2022-03-02 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2022-03-02
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
6.5 MEDIUM — AV:N/AC:L/Au:S/C:P/I:P/A:P
Weaknesses
CWE-416

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.

Affected configurations

• samba samba (>= 4.0.0 < 4.13.14) • samba samba (>= 4.14.0 < 4.14.10) • samba samba (>= 4.15.0 < 4.15.2)

Related

Weakness · CWE (1)

References