Critical severity · published Dec 14, 2021
CVE-2021-44538
The olm_session_describe function in Matrix libolm before 3.2.7 is vulnerable to a buffer overflow
9.8
CVSS
2%
EPSS
No
On KEV
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 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 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.0% · higher than 81% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
CI
Cinny · Cinny Project
before 1.6.0 · source: NVD
DL
Debian Linux · Debian
9.0; 10.0; 11.0 · source: NVD
EL
Element · Matrix
before 1.9.7; before 1.9.7 · source: NVD
JS
Javascript Sdk · Matrix
2.4.2 before 15.2.1 · source: NVD
OL
Olm · Matrix
3.1.4 before 3.2.8 · source: NVD
SC
Schildichat · Schildi
before 1.9.7-sc1; before 1.9.7-sc1 · source: NVD