CVE-2021-3738 in Canonical and Samba Products
Published on 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.
Weakness Type
What is a Dangling pointer Vulnerability?
Referencing memory after it has been freed can cause a program to crash, use unexpected values, or execute code.
CVE-2021-3738 has been classified to as a Dangling pointer vulnerability or weakness.
Products Associated with CVE-2021-3738
stack.watch emails you whenever new vulnerabilities are published in Canonical Ubuntu Linux or Samba. Just hit a watch button to start following.
Exploit Probability
EPSS
0.40%
Percentile
60.84%
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.