VDB

ALPINE-CVE-2021-3738

ALPINE-CVE-2021-3738 PUBLISHED CVSS 8.800000190734863 HIGH

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.

PackageEcosystemFixed in
sambaAlpine:v3.174.15.2-r0
sambaAlpine:v3.154.15.2-r0
sambaAlpine:v3.224.15.2-r0
sambaAlpine:v3.244.15.2-r0
sambaAlpine:v3.194.15.2-r0
sambaAlpine:v3.184.15.2-r0
sambaAlpine:v3.164.15.2-r0
sambaAlpine:v3.134.13.17-r0
sambaAlpine:v3.144.14.12-r0
sambaAlpine:v3.204.15.2-r0
sambaAlpine:v3.234.15.2-r0
sambaAlpine:v3.214.15.2-r0

Risk scores

CVSS 3.1
8.800000190734863
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
Alpine:v3.17samba3.2.11-r0, 3.2.11-r1, 4.0.0
Alpine:v3.15samba0, 4.2.0-r0, 4.1.0-r2
Alpine:v3.22samba4.14.6-r0, 0, 4.0.0
Alpine:v3.24samba4.0.0
Alpine:v3.19samba4.8.5-r0, 0, 3.2.10-r0
Alpine:v3.18samba3.2.11-r0, 4.0.0, 4.10.8-r0
Alpine:v3.16samba4.4.4-r0, 3.2.10-r0, 3.2.11-r0
Alpine:v3.13samba3.3.8-r0, 3.4.3-r0, 3.4.3-r1
Alpine:v3.14samba3.6.7-r1, 4.6.0-r0, 3.6.2-r0
Alpine:v3.20samba4.10.8-r1, 4.0.0, 3.6.5-r0
Alpine:v3.23samba4.11.2-r1, 0, 4.0.0
Alpine:v3.21samba0, 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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›