CVE-2021-44538 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gitlab.matrix.org/matrix-org/olm/-/tags | CVE | ProductThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/01/msg00001.html | CVE | Mailing ListThird Party Advisory |
| https://matrix.org/blog/2021/12/13/disclosure-buffer-overflow-in-libolm-and-matrix-js-sdk | CVE | PatchVendor Advisory |
| https://www.debian.org/security/2022/dsa-5034 | CVE | Third Party Advisory |
| https://gitlab.matrix.org/matrix-org/olm/-/tags | [email protected] | ProductThird Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/01/msg00001.html | [email protected] | Mailing ListThird Party Advisory |
| https://matrix.org/blog/2021/12/13/disclosure-buffer-overflow-in-libolm-and-matrix-js-sdk | [email protected] | PatchVendor Advisory |
| https://www.debian.org/security/2022/dsa-5034 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| matrix element | < 1.9.7 |
CPE
Remediation
| |
| matrix javascript sdk | >= 2.4.2, < 15.2.1 |
CPE
Remediation
| |
| matrix olm | >= 3.1.4, < 3.2.8 |
CPE
Remediation
| |
| schildi schildichat | < 1.9.7-sc1 |
CPE
Remediation
| |
| cinny project cinny | < 1.6.0 |
CPE
Remediation
| |
| debian debian linux | 9.0 10.0 11.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Aug 8, 2023 | CWE Remap | [email protected] |
| Apr 12, 2022 | Modified Analysis | [email protected] |
| Jan 4, 2022 | CVE Modified | [email protected] |
| Jan 3, 2022 | CVE Modified | [email protected] |
| Dec 21, 2021 | Initial Analysis | [email protected] |