Skip to content
OpenAdvisories
Unscored CVE-2021-3738 EUVD-2021-27014GHSA-jrfc-f73c-qmrr

In DCE/RPC it is possible to share the handles (cookies for resource state) between multiple connections via a mechanism called 'associatio…

Published Mar 2, 2022 · Updated Aug 3, 2024 · Assigned by redhat

Description

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.

Affected products

VendorProductAffectedFixed
— samba Affects all versions since samba 4.0 | Fixedin samba v4.15.2, v4.14.10 and v4.13.14 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 samba 2:4.13.14+dfsg-1 —
Debian 13 samba 2:4.13.14+dfsg-1 —
Debian 12 samba 2:4.13.14+dfsg-1 —
Debian 11 samba 2:4.13.13+dfsg-1~deb11u2 DSA-5003-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS samba 2:4.13.14+dfsg-0ubuntu1 —
Ubuntu 20.04 LTS samba 2:4.13.14+dfsg-0ubuntu0.20.04.1 USN-5142-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 18.04 LTS samba No fix yet —
Ubuntu Pro 16.04 LTS samba No fix yet —
Ubuntu Pro 14.04 LTS samba No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP3 ldb 2.2.2-3.3.1 SUSE-SU-2021:3647-1
SLES 15 SP3 samba 4.13.13+git.528.140935f8d6a-3.12.1 SUSE-SU-2021:3647-1
SLES 2 samba 4.13.13+git.528.140935f8d6a-3.12.1 SUSE-SU-2021:3647-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 5.1 ldb 2.2.2-3.3.1 SUSE-SU-2021:3647-1
SUSE Enterprise Storage 7 ldb 2.2.2-4.6.1 SUSE-SU-2022:0361-1
SUSE Enterprise Storage 7 samba 4.13.13+git.545.5897c2d94f3-3.12.1 SUSE-SU-2022:0361-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed samba 4.15.2+git.193.a4d6307f1fd-1.1 openSUSE-SU-2024:11631-1
openSUSE Leap 15.3 ldb 2.2.2-3.3.1 openSUSE-SU-2021:3647-1
openSUSE Leap 15.3 samba 4.13.13+git.528.140935f8d6a-3.12.1 openSUSE-SU-2021:3647-1
ReleasePackageFixed inAdvisory
Alpine v3.24 samba 4.15.2-r0 —
Alpine v3.23 samba 4.15.2-r0 —
Alpine v3.22 samba 4.15.2-r0 —
Alpine v3.21 samba 4.15.2-r0 —
Alpine v3.20 samba 4.15.2-r0 —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 samba 4.15.2-r0 —
Alpine v3.18 samba 4.15.2-r0 —
Alpine v3.17 samba 4.15.2-r0 —
Alpine v3.16 samba 4.15.2-r0 —
Alpine v3.15 samba 4.15.2-r0 —
Alpine v3.14 samba 4.14.12-r0 —
Alpine v3.13 samba 4.13.17-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 samba 4.18.3-1 —
Azure Linux 2 (CBL-Mariner) samba No fix yet —

Advisories 9

References