ALPINE-CVE-2021-3738
Record from OSV · 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:v3.17 | 4.15.2-r0 |
| samba | Alpine:v3.15 | 4.15.2-r0 |
| samba | Alpine:v3.22 | 4.15.2-r0 |
| samba | Alpine:v3.24 | 4.15.2-r0 |
| samba | Alpine:v3.19 | 4.15.2-r0 |
| samba | Alpine:v3.18 | 4.15.2-r0 |
| samba | Alpine:v3.16 | 4.15.2-r0 |
| samba | Alpine:v3.13 | 4.13.17-r0 |
| samba | Alpine:v3.14 | 4.14.12-r0 |
| samba | Alpine:v3.20 | 4.15.2-r0 |
| samba | Alpine:v3.23 | 4.15.2-r0 |
| samba | Alpine:v3.21 | 4.15.2-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.17 | samba | 3.2.11-r0, 3.2.11-r1, 4.0.0 |
| Alpine:v3.15 | samba | 0, 4.2.0-r0, 4.1.0-r2 |
| Alpine:v3.22 | samba | 4.14.6-r0, 0, 4.0.0 |
| Alpine:v3.24 | samba | 4.0.0 |
| Alpine:v3.19 | samba | 4.8.5-r0, 0, 3.2.10-r0 |
| Alpine:v3.18 | samba | 3.2.11-r0, 4.0.0, 4.10.8-r0 |
| Alpine:v3.16 | samba | 4.4.4-r0, 3.2.10-r0, 3.2.11-r0 |
| Alpine:v3.13 | samba | 3.3.8-r0, 3.4.3-r0, 3.4.3-r1 |
| Alpine:v3.14 | samba | 3.6.7-r1, 4.6.0-r0, 3.6.2-r0 |
| Alpine:v3.20 | samba | 4.10.8-r1, 4.0.0, 3.6.5-r0 |
| Alpine:v3.23 | samba | 4.11.2-r1, 0, 4.0.0 |
| Alpine:v3.21 | samba | 0, 3.2.11-r0, 3.2.11-r1 |
Timeline
- Mar 2, 2022 CVE Published
- Jul 8, 2026 CVE Updated
- Aug 8, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln ALPINE-CVE-2021-3738
vulnetix vdb fixes ALPINE-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/ALPINE-CVE-2021-3738/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart