CVE-2021-44538Improper Restriction of Operations within the Bounds of a Memory Buffer in Element

Severity
9.8CRITICALNVD
OSV8.8
EPSS
1.4%
top 19.41%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedDec 14
Latest updateJan 21

Description

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 size

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages8 packages

NVDmatrix/element< 1.9.7
NVDmatrix/olm3.1.43.2.8
NVDschildi/schildichat< 1.9.7-sc1
NVDmatrix/javascript_sdk2.4.215.2.1
Debianmatrix/olm< 3.2.8~dfsg-1+2

Also affects: Debian Linux 10.0, 11.0, 9.0

Patches

🔴Vulnerability Details

4
OSV
thunderbird vulnerabilities2022-01-21
GHSA
GHSA-q7f4-j236-f4hc: The olm_session_describe function in Matrix libolm before 32021-12-15
OSV
CVE-2021-44538: The olm_session_describe function in Matrix libolm before 32021-12-14
CVEList
CVE-2021-44538: The olm_session_describe function in Matrix libolm before 32021-12-14

📋Vendor Advisories

4
Ubuntu
Thunderbird vulnerabilities2022-01-21
Ubuntu
Thunderbird vulnerabilities2022-01-21
Debian
CVE-2021-44538: olm - The olm_session_describe function in Matrix libolm before 3.2.7 is vulnerable to...2021
Mozilla
Mozilla Foundation Security Advisory 2021-55: CVE-2021-44538

💬Community

1
Bugzilla
Security vulnerability in libolm (used by Matrix)2021-12-02
CVE-2021-44538 — Matrix Element vulnerability | cvebase