CVE-2021-3738

HIGHCVSS 8.8/10EPSS 1.84%

Last modified

CVE-2021-3738 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 1.84% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
8.8/10

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

EPSS Probability
1.84%

76.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
SambaSamba>= 4.0.0, < 4.13.14
SambaSamba>= 4.14.0, < 4.14.10
SambaSamba>= 4.15.0, < 4.15.2

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2021-3738?
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.
How severe is CVE-2021-3738?
CVE-2021-3738 has a CVSS score of 8.8/10 (HIGH severity). The EPSS model estimates a 1.84% probability of exploitation in the next 30 days.
How do I fix CVE-2021-3738?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-3738?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST