CVE-2021-3738Use After Free in Samba

CWE-416Use After Free12 documents7 sources
Severity
8.8HIGHNVD
OSV5.9
EPSS
0.4%
top 39.20%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 2
Latest updateMar 8

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 pos

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 2.8 | Impact: 5.9

Affected Packages8 packages

NVDsamba/samba4.0.04.13.14+2
debiandebian/samba< samba 2:4.13.14+dfsg-1 (bookworm)
Debiansamba/samba< 2:4.13.13+dfsg-1~deb11u2+3
Ubuntusamba/samba< 2:4.13.14+dfsg-0ubuntu0.20.04.4+2
CVEListV5samba/sambaAffects all versions since samba 4.0 | Fixedin samba v4.15.2, v4.14.10 and v4.13.14

Patches

🔴Vulnerability Details

5
GHSA
GHSA-jrfc-f73c-qmrr: In DCE/RPC it is possible to share the handles (cookies for resource state) between multiple connections via a mechanism called 'association groups'2022-03-04
OSV
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'2022-03-02
OSV
samba regression2021-12-13
OSV
samba regressions2021-12-06
OSV
samba vulnerabilities2021-11-11

📋Vendor Advisories

6
Microsoft
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 sam2022-03-08
Ubuntu
Samba regression2021-12-13
Ubuntu
Samba regressions2021-12-06
Ubuntu
Samba vulnerabilities2021-11-11
Red Hat
samba: Use after free in Samba AD DC RPC server2021-11-09