Vulnerability Name:

CVE-2021-3738 (CCN-213242)

Assigned:2021-11-10
Published:2021-11-10
Updated:2022-03-10
Summary: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.
CVSS v3 Severity:8.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
7.7 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.6 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H)
6.6 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): High
CVSS v2 Severity:6.5 Medium (CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
8.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:S/C:P/I:P/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): Single_Instance
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Complete
Vulnerability Type:CWE-416
Vulnerability Consequences:Bypass Security
References:Source: MITRE
Type: CNA
CVE-2021-3738

Source: MISC
Type: Issue Tracking, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2021726

Source: MISC
Type: Issue Tracking, Patch, Vendor Advisory
https://bugzilla.samba.org/show_bug.cgi?id=14468

Source: XF
Type: UNKNOWN
samba-cve20213738-sec-bypass(213242)

Source: CCN
Type: Samba Web site
Use after free in Samba AD DC RPC server

Source: MISC
Type: Vendor Advisory
https://www.samba.org/samba/security/CVE-2021-3738.html

Vulnerable Configuration:Configuration 1:
  • cpe:/a:samba:samba:*:*:*:*:*:*:*:* (Version >= 4.0.0 and < 4.13.14)
  • OR cpe:/a:samba:samba:*:*:*:*:*:*:*:* (Version >= 4.14.0 and < 4.14.10)
  • OR cpe:/a:samba:samba:*:*:*:*:*:*:*:* (Version >= 4.15.0 and < 4.15.2)

  • Configuration CCN 1:
  • cpe:/a:samba:samba:4.13.0:-:*:*:*:*:*:*
  • OR cpe:/a:samba:samba:4.14.0:-:*:*:*:*:*:*
  • OR cpe:/a:samba:samba:4.15.0:-:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:7682
    P
    libtiff-devel-4.0.9-150000.45.25.1 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:7661
    P
    libsamba-errors-devel-4.13.13+git.539.fdbc44a8598-3.20.2 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:7662
    P
    libsamba-policy-devel-4.17.7+git.330.4057cd7a27a-150500.1.2 on GA media (Moderate)
    2023-06-12
    oval:org.opensuse.security:def:807
    P
    Security update for python3 (Important)
    2022-10-06
    oval:org.opensuse.security:def:3708
    P
    Security update for git (Important)
    2022-07-26
    oval:org.opensuse.security:def:3072
    P
    fuse-2.9.3-6.3.1 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:3071
    P
    ft2demos-2.6.3-7.15.1 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:94701
    P
    libsamba-errors-devel-4.13.13+git.539.fdbc44a8598-3.20.2 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:94702
    P
    libsamba-policy-devel-4.15.5+git.328.f1f29505d84-150400.1.44 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:112126
    P
    ctdb-4.15.2+git.193.a4d6307f1fd-1.1 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:99694
    P
    (Important)
    2021-11-10
    oval:org.opensuse.security:def:76381
    P
    Security update for samba and ldb (Important)
    2021-11-10
    oval:org.opensuse.security:def:111781
    P
    Security update for samba and ldb (Important)
    2021-11-10
    oval:org.opensuse.security:def:101538
    P
    Security update for samba and ldb (Important)
    2021-11-10
    oval:org.opensuse.security:def:68771
    P
    Security update for samba and ldb (Important)
    2021-11-10
    oval:org.opensuse.security:def:1576
    P
    Security update for samba and ldb (Important)
    2021-11-10
    oval:org.opensuse.security:def:100013
    P
    (Important)
    2021-11-10
    oval:org.opensuse.security:def:76551
    P
    Security update for samba and ldb (Important)
    2021-11-10
    oval:org.opensuse.security:def:42238
    P
    Security update for samba and ldb (Important)
    2021-11-10
    oval:org.opensuse.security:def:102137
    P
    Security update for samba and ldb (Important)
    2021-11-10
    oval:org.opensuse.security:def:99159
    P
    (Important)
    2021-11-10
    oval:org.opensuse.security:def:8396
    P
    Security update for samba and ldb (Important)
    2021-11-10
    oval:org.opensuse.security:def:1740
    P
    Security update for samba and ldb (Important)
    2021-11-10
    oval:org.opensuse.security:def:100349
    P
    (Important)
    2021-11-10
    oval:org.opensuse.security:def:64797
    P
    Security update for samba and ldb (Important)
    2021-11-10
    oval:org.opensuse.security:def:102298
    P
    Security update for samba and ldb (Important)
    2021-11-10
    oval:org.opensuse.security:def:99431
    P
    (Important)
    2021-11-10
    oval:org.opensuse.security:def:73919
    P
    Security update for samba and ldb (Important)
    2021-11-10
    oval:org.opensuse.security:def:100678
    P
    (Important)
    2021-11-10
    oval:org.opensuse.security:def:67313
    P
    Security update for samba and ldb (Important)
    2021-11-10
    oval:org.opensuse.security:def:6224
    P
    Security update for samba and ldb (Important)
    2021-11-10
    BACK
    samba samba *
    samba samba *
    samba samba *
    samba samba 4.13.0 -
    samba samba 4.14.0
    samba samba 4.15.0 -