Vulnerability Details : 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.
Vulnerability category: Overflow
Products affected by CVE-2021-44538
- 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:*:*:*:*:*:*:*
- cpe:2.3:a:matrix:olm:*:*:*:*:*:*:*:*
- 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:schildi:schildichat:*:*:*:*:desktop:*:*:*
- cpe:2.3:a:schildi:schildichat:*:*:*:*:web:*:*:*
- cpe:2.3:a:cinny_project:cinny:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-44538
1.42%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 79 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-44538
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
CWE ids for CVE-2021-44538
-
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-44538
-
https://lists.debian.org/debian-lts-announce/2022/01/msg00001.html
[SECURITY] [DLA 2874-1] thunderbird security updateMailing List;Third Party Advisory
-
https://gitlab.matrix.org/matrix-org/olm/-/tags
Tags · matrix-org / Olm · GitLabProduct;Third Party Advisory
-
https://matrix.org/blog/2021/12/13/disclosure-buffer-overflow-in-libolm-and-matrix-js-sdk
Disclosure: buffer overflow in libolm and matrix-js-sdk | Matrix.orgPatch;Vendor Advisory
-
https://www.debian.org/security/2022/dsa-5034
Debian -- Security Information -- DSA-5034-1 thunderbirdThird Party Advisory
Jump to