CVE-2021-3738
Reported by redhat · Published March 2, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| samba | Alpine | 4.15.2-r0, 4.14.12-r0, 4.13.17-r0 |
| samba | Arch Linux | 4.15.2-1 |
| samba | samba | 4.15.2, 4.14.10, 4.13.14 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | samba | Affects all versions since samba 4.0 | Fixedin samba v4.15.2, v4.14.10 and v4.13.14 |
| alpine | samba | 0, 0, 0 |
| arch | samba | 0 |
| n/a | samba | Affects all versions since samba 4.0 | Fixedin samba v4.15.2, v4.14.10 and v4.13.14 |
Timeline
- Nov 9, 2021 CVE Published
- Mar 3, 2022 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory (23 in total, the first dated here)
- Jul 27, 2026 Coalition ESS Score
- Oct 11, 2026 CVE Updated
- Nov 22, 2026 Distribution Patch (20 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-3738
vulnetix vdb fixes CVE-2021-3738
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-3738/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- GLSA-202309-06 vendor-advisory