CVE-2021-3738
Summary
| CVE | CVE-2021-3738 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-03-02 23:15:00 UTC |
| Updated | 2023-09-17 09:15:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-416
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| 14468 – (CVE-2021-3738) CVE-2021-3738 [EMBARGOED][SECURITY] crash in dsdb stack | MISC | bugzilla.samba.org | |
| Samba: Multiple Vulnerabilities (GLSA 202309-06) — Gentoo security | GENTOO | security.gentoo.org | |
| Samba - Security Announcement Archive | MISC | www.samba.org | |
| 2021726 – (CVE-2021-3738) CVE-2021-3738 samba: Use after free in Samba AD DC RPC server | MISC | bugzilla.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 178884 Debian Security Update for samba (DSA 5003-1)
- 183470 Debian Security Update for samba (CVE-2021-3738)
- 198583 Ubuntu Security Notification for Samba Vulnerability (USN-5142-1)
- 282091 Fedora Security Update for freeipa (FEDORA-2021-1d77047c61)
- 282156 Fedora Security Update for freeipa (FEDORA-2021-12af2614da)
- 296061 Oracle Solaris 11.4 Support Repository Update (SRU) 42.113.1 Missing (CPUJAN2022)
- 354310 Amazon Linux Security Advisory for samba : ALAS2022-2022-022
- 354496 Amazon Linux Security Advisory for samba : ALAS2022-2022-224
- 354550 Amazon Linux Security Advisory for samba : ALAS-2022-224
- 501490 Alpine Linux Security Update for samba
- 501779 Alpine Linux Security Update for samba
- 502027 Alpine Linux Security Update for samba
- 504394 Alpine Linux Security Update for samba
- 671280 EulerOS Security Update for samba (EulerOS-SA-2022-1246)
- 671315 EulerOS Security Update for samba (EulerOS-SA-2022-1258)
- 671372 EulerOS Security Update for samba (EulerOS-SA-2022-1295)
- 671384 EulerOS Security Update for samba (EulerOS-SA-2022-1311)
- 690244 Free Berkeley Software Distribution (FreeBSD) Security Update for samba (646923b0-41c7-11ec-a3b2-005056a311d1)
- 710751 Gentoo Linux Samba Multiple Vulnerabilities (GLSA 202309-06)
- 751345 OpenSUSE Security Update for samba and ldb (openSUSE-SU-2021:3647-1)
- 901954 Common Base Linux Mariner (CBL-Mariner) Security Update for samba (8905)