Vulnerability Name:

CVE-2021-44538 (CCN-215216)

Assigned:2021-12-13
Published:2021-12-13
Updated:2022-04-12
Summary:The olm_session_describe function in Matrix libolm before 3.2.7 is vulnerable to a buffer overflow. The Olm session object represents a cryptographic channel between two parties. Therefore, its state is partially controllable by the remote party of the channel. Attackers can construct a crafted sequence of messages to manipulate the state of the receiver's session in such a way that, for some buffer sizes, a buffer overflow happens on a call to olm_session_describe. Furthermore, safe buffer sizes were undocumented. The overflow content is partially controllable by the attacker and limited to ASCII spaces and digits. The known affected products are Element Web And SchildiChat Web.
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/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): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
9.8 Critical (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/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): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
10.0 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-120
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2021-44538

Source: XF
Type: UNKNOWN
matrix-cve202144538-bo(215216)

Source: MISC
Type: Product, Third Party Advisory
https://gitlab.matrix.org/matrix-org/olm/-/tags

Source: MLIST
Type: Mailing List, Third Party Advisory
[debian-lts-announce] 20220104 [SECURITY] [DLA 2874-1] thunderbird security update

Source: CCN
Type: Matrix Web site
libolm and matrix-js-sdk

Source: CCN
Type: Matrix Blog, 2021-12-13
Disclosure: buffer overflow in libolm and matrix-js-sdk

Source: MISC
Type: Patch, Vendor Advisory
https://matrix.org/blog/2021/12/13/disclosure-buffer-overflow-in-libolm-and-matrix-js-sdk

Source: DEBIAN
Type: Third Party Advisory
DSA-5034

Vulnerable Configuration:Configuration 1:
  • cpe:/a:matrix:element:*:*:*:*:desktop:*:*:* (Version < 1.9.7)
  • OR cpe:/a:matrix:element:*:*:*:*:web:*:*:* (Version < 1.9.7)
  • OR cpe:/a:matrix:javascript_sdk:*:*:*:*:*:*:*:* (Version >= 2.4.2 and < 15.2.1)
  • OR cpe:/a:matrix:olm:*:*:*:*:*:*:*:* (Version >= 3.1.4 and < 3.2.8)

  • Configuration 2:
  • cpe:/a:schildi:schildichat:*:*:*:*:desktop:*:*:* (Version < 1.9.7-sc1)
  • OR cpe:/a:schildi:schildichat:*:*:*:*:web:*:*:* (Version < 1.9.7-sc1)

  • Configuration 3:
  • cpe:/a:cinny_project:cinny:*:*:*:*:*:*:*:* (Version < 1.6.0)

  • Configuration 4:
  • cpe:/o:debian:debian_linux:9.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • OR cpe:/o:debian:debian_linux:11.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:org.opensuse.security:def:3546
    P
    libICE6-1.0.8-12.1 on GA media (Moderate)
    2022-06-28
    oval:org.opensuse.security:def:95176
    P
    MozillaThunderbird-91.8.0-150200.8.65.1 on GA media (Moderate)
    2022-06-22
    oval:org.opensuse.security:def:111909
    P
    MozillaThunderbird-91.4.1-1.1 on GA media (Moderate)
    2022-01-17
    oval:org.opensuse.security:def:102359
    P
    Security update for MozillaThunderbird (Important)
    2022-01-12
    oval:org.opensuse.security:def:111874
    P
    Security update for MozillaThunderbird (Important)
    2022-01-12
    oval:org.opensuse.security:def:76457
    P
    Security update for MozillaThunderbird (Important)
    2022-01-12
    oval:org.opensuse.security:def:1815
    P
    Security update for MozillaThunderbird (Important)
    2022-01-12
    oval:org.opensuse.security:def:67389
    P
    Security update for MozillaThunderbird (Important)
    2022-01-12
    oval:org.opensuse.security:def:6300
    P
    Security update for MozillaThunderbird (Important)
    2022-01-12
    oval:org.opensuse.security:def:70851
    P
    Security update for MozillaThunderbird (Important)
    2022-01-12
    oval:org.opensuse.security:def:10711
    P
    Security update for MozillaThunderbird (Important)
    2022-01-12
    BACK
    matrix element *
    matrix element *
    matrix javascript sdk *
    matrix olm *
    schildi schildichat *
    schildi schildichat *
    cinny_project cinny *
    debian debian linux 9.0
    debian debian linux 10.0
    debian debian linux 11.0