CVE-2021-3738Samba
High 8.8
Follow: this CVE · Samba · Samba We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- 2.0% probability of exploitation in 30 days · percentile 82
- Auth required
- Yes
- Published
- Mar 2, 2022
- Updated
- Jun 17, 2026
- Category
- Server · Linux
- Weakness (CWE)
- CWE-416
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Samba.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| samba | samba | ≥ 4.0.0 < 4.13.14 |
| samba | samba | ≥ 4.14.0 < 4.14.10 |
| samba | samba | ≥ 4.15.0 < 4.15.2 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- bugzilla.samba.org Issue Tracking Patch Vendor Advisory
- security.gentoo.org
- www.samba.org Vendor Advisory