CVE-2021-3738

Name
CVE-2021-3738
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.
NVD Severity
high
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Issue Tracking https://bugzilla.redhat.com/show_bug.cgi?id=2021726
Vendor Advisory https://www.samba.org/samba/security/CVE-2021-3738.html
Issue Tracking https://bugzilla.samba.org/show_bug.cgi?id=14468

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* samba >= 4.0.0 < 4.13.14
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* samba >= 4.14.0 < 4.14.10
cpe:2.3:a:samba:samba:*:*:*:*:*:*:*:* samba >= 4.15.0 < 4.15.2

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
samba 3.13-main 4.13.17-r0 Natanael Copa <ncopa@alpinelinux.org> fixed
samba 3.12-main 4.12.15-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable