9.8
CRITICAL
CVE-2021-44538
"libolm Matrix Buffer Overflow Vulnerability"
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.

INFO

Published Date :

Dec. 14, 2021, 2:15 p.m.

Last Modified :

Nov. 21, 2024, 6:31 a.m.

Remotely Exploitable :

Yes !

Impact Score :

5.9

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2021-44538 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-44538 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Matrix javascript_sdk
2 Matrix olm
3 Matrix element
1 Debian debian_linux
1 Schildi schildichat
1 Cinny_project cinny
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-44538.

URL Resource
https://gitlab.matrix.org/matrix-org/olm/-/tags Product Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/01/msg00001.html Mailing List Third Party Advisory
https://matrix.org/blog/2021/12/13/disclosure-buffer-overflow-in-libolm-and-matrix-js-sdk Patch Vendor Advisory
https://www.debian.org/security/2022/dsa-5034 Third Party Advisory
https://gitlab.matrix.org/matrix-org/olm/-/tags Product Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/01/msg00001.html Mailing List Third Party Advisory
https://matrix.org/blog/2021/12/13/disclosure-buffer-overflow-in-libolm-and-matrix-js-sdk Patch Vendor Advisory
https://www.debian.org/security/2022/dsa-5034 Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

CMake Makefile Ruby Swift Java C++ C Python Nix Shell

Updated: 4 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Aug. 13, 2024, 3:12 a.m. This repo has been linked 2 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-44538 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-44538 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://gitlab.matrix.org/matrix-org/olm/-/tags
    Added Reference https://lists.debian.org/debian-lts-announce/2022/01/msg00001.html
    Added Reference https://matrix.org/blog/2021/12/13/disclosure-buffer-overflow-in-libolm-and-matrix-js-sdk
    Added Reference https://www.debian.org/security/2022/dsa-5034
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CWE Remap by [email protected]

    Aug. 08, 2023

    Action Type Old Value New Value
    Changed CWE CWE-120 CWE-119
  • Modified Analysis by [email protected]

    Apr. 12, 2022

    Action Type Old Value New Value
    Changed Reference Type https://lists.debian.org/debian-lts-announce/2022/01/msg00001.html No Types Assigned https://lists.debian.org/debian-lts-announce/2022/01/msg00001.html Mailing List, Third Party Advisory
    Changed Reference Type https://www.debian.org/security/2022/dsa-5034 No Types Assigned https://www.debian.org/security/2022/dsa-5034 Third Party Advisory
    Added CPE Configuration 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:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Jan. 04, 2022

    Action Type Old Value New Value
    Added Reference https://lists.debian.org/debian-lts-announce/2022/01/msg00001.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 03, 2022

    Action Type Old Value New Value
    Added Reference https://www.debian.org/security/2022/dsa-5034 [No Types Assigned]
  • Initial Analysis by [email protected]

    Dec. 21, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type https://gitlab.matrix.org/matrix-org/olm/-/tags No Types Assigned https://gitlab.matrix.org/matrix-org/olm/-/tags Product, Third Party Advisory
    Changed Reference Type https://matrix.org/blog/2021/12/13/disclosure-buffer-overflow-in-libolm-and-matrix-js-sdk No Types Assigned https://matrix.org/blog/2021/12/13/disclosure-buffer-overflow-in-libolm-and-matrix-js-sdk Patch, Vendor Advisory
    Added CWE NIST CWE-120
    Added CPE Configuration OR *cpe:2.3:a:matrix:element:*:*:*:*:desktop:*:*:* versions up to (excluding) 1.9.7 *cpe:2.3:a:matrix:element:*:*:*:*:web:*:*:* versions up to (excluding) 1.9.7 *cpe:2.3:a:matrix:javascript_sdk:*:*:*:*:*:*:*:* versions from (including) 2.4.2 up to (excluding) 15.2.1 *cpe:2.3:a:matrix:olm:*:*:*:*:*:*:*:* versions from (including) 3.1.4 up to (excluding) 3.2.8
    Added CPE Configuration OR *cpe:2.3:a:schildi:schildichat:*:*:*:*:desktop:*:*:* versions up to (excluding) 1.9.7-sc1 *cpe:2.3:a:schildi:schildichat:*:*:*:*:web:*:*:* versions up to (excluding) 1.9.7-sc1
    Added CPE Configuration OR *cpe:2.3:a:cinny_project:cinny:*:*:*:*:*:*:*:* versions up to (excluding) 1.6.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.50 }} -0.28%

score

0.76059

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability