CVE-2021-3738

Summary

CVECVE-2021-3738
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-03-02 23:15:00 UTC
Updated2023-09-17 09:15:00 UTC
DescriptionIn 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)

TypeVendorProductVersionUpdateEditionLanguage
Application Samba Samba All All All All

References

ReferenceSourceLinkTags
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

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)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report