CVE-2021-44538

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:matrix:element:*:*:*:*:desktop:*:*:*
cpe:2.3:a:matrix:element:*:*:*:*:web:*:*:*
cpe:2.3:a:matrix:javascript_sdk:*:*:*:*:*:*:*:*
cpe:2.3:a:matrix:olm:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:a:schildi:schildichat:*:*:*:*:desktop:*:*:*
cpe:2.3:a:schildi:schildichat:*:*:*:*:web:*:*:*

Configuration 3 (hide)

cpe:2.3:a:cinny_project:cinny:*:*:*:*:*:*:*:*

Configuration 4 (hide)

OR 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:*:*:*:*:*:*:*

History

08 Aug 2023, 14:22

Type Values Removed Values Added
CWE CWE-120 CWE-119

12 Apr 2022, 18:15

Type Values Removed Values Added
CPE cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
First Time Debian
Debian debian Linux
References (DEBIAN) https://www.debian.org/security/2022/dsa-5034 - (DEBIAN) https://www.debian.org/security/2022/dsa-5034 - Third Party Advisory
References (MLIST) https://lists.debian.org/debian-lts-announce/2022/01/msg00001.html - (MLIST) https://lists.debian.org/debian-lts-announce/2022/01/msg00001.html - Mailing List, Third Party Advisory

04 Jan 2022, 12:15

Type Values Removed Values Added
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2022/01/msg00001.html -

03 Jan 2022, 11:15

Type Values Removed Values Added
References
  • (DEBIAN) https://www.debian.org/security/2022/dsa-5034 -

21 Dec 2021, 17:29

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8
References (MISC) https://gitlab.matrix.org/matrix-org/olm/-/tags - (MISC) https://gitlab.matrix.org/matrix-org/olm/-/tags - Product, Third Party Advisory
References (MISC) https://matrix.org/blog/2021/12/13/disclosure-buffer-overflow-in-libolm-and-matrix-js-sdk - (MISC) https://matrix.org/blog/2021/12/13/disclosure-buffer-overflow-in-libolm-and-matrix-js-sdk - Patch, Vendor Advisory
CPE cpe:2.3:a:matrix:element:*:*:*:*:desktop:*:*:*
cpe:2.3:a:matrix:javascript_sdk:*:*:*:*:*:*:*:*
cpe:2.3:a:schildi:schildichat:*:*:*:*:desktop:*:*:*
cpe:2.3:a:matrix:element:*:*:*:*:web:*:*:*
cpe:2.3:a:schildi:schildichat:*:*:*:*:web:*:*:*
cpe:2.3:a:cinny_project:cinny:*:*:*:*:*:*:*:*
cpe:2.3:a:matrix:olm:*:*:*:*:*:*:*:*
CWE CWE-120

14 Dec 2021, 14:35

Type Values Removed Values Added
New CVE

Information

Published : 2021-12-14 14:15

Updated : 2023-12-10 14:09


NVD link : CVE-2021-44538

Mitre link : CVE-2021-44538

CVE.ORG link : CVE-2021-44538


JSON object : View

Products Affected

debian

  • debian_linux

cinny_project

  • cinny

schildi

  • schildichat

matrix

  • olm
  • javascript_sdk
  • element
CWE
CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer