CVE-2021-3738
JSON

8.8high

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

Severity
8.8high CVSS:3.1 by NVD
Exploit likelihood
2.05% (higher than 82% of CVEs)
Published
Last changed
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

Product or packageVersionsReported by
sambaAffects all versions since samba 4.0 | Fixedin samba v4.15.2, v4.14.10 and v4.13.14CVE List
samba sambafrom 4.0.0 before 4.13.14, from 4.14.0 before 4.14.10, from 4.15.0 before 4.15.2NVD

All scores

NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD6.5medium CVSS:2.0AV:N/AC:L/Au:S/C:P/I:P/A:P

Classification

What each source says

CVE List

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 (es)

En DCE/RPC es posible compartir los manejadores (cookies para el estado de los recursos) entre múltiples conexiones por medio de un mecanismo llamado "association groups". Estos manejadores pueden hacer referencia a conexiones a nuestra base de datos sam.ldb. Sin embargo, mientras la base de datos era compartida correctamente, el estado de las credenciales del usuario sólo era apuntado, y cuando una conexión dentro de ese grupo de asociación terminaba, la base de datos quedaba apuntando a una "struct session_info" no válida. El resultado más probable en este caso es un bloqueo, pero es posible que un uso de memoria previamente liberada permita apuntar a un estado de usuario diferente y esto podría permitir un acceso más privilegiado

References

Sources

SourceRecordLicence
CVE ListCVE-2021-3738 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-3738 changed 2026-06-17Public domain