CVE-2021-44538

Severity CVSS v4.0:
Pending analysis
Type:
CWE-119 Buffer Errors
Publication date:
14/12/2021
Last modified:
08/08/2023

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:matrix:element:*:*:*:*:desktop:*:*:* 1.9.7 (excluding)
cpe:2.3:a:matrix:element:*:*:*:*:web:*:*:* 1.9.7 (excluding)
cpe:2.3:a:matrix:javascript_sdk:*:*:*:*:*:*:*:* 2.4.2 (including) 15.2.1 (excluding)
cpe:2.3:a:matrix:olm:*:*:*:*:*:*:*:* 3.1.4 (including) 3.2.8 (excluding)
cpe:2.3:a:schildi:schildichat:*:*:*:*:desktop:*:*:* 1.9.7-sc1 (excluding)
cpe:2.3:a:schildi:schildichat:*:*:*:*:web:*:*:* 1.9.7-sc1 (excluding)
cpe:2.3:a:cinny_project:cinny:*:*:*:*:*:*:*:* 1.6.0 (excluding)
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*