CVE-2021-34813Out-of-bounds Write in OLM

Severity
9.8CRITICALNVD
EPSS
4.5%
top 10.91%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedJun 16
Latest updateDec 7

Description

Matrix libolm before 3.2.3 allows a malicious Matrix homeserver to crash a client (while it is attempting to retrieve an Olm encrypted room key backup from the homeserver) because olm_pk_decrypt has a stack-based buffer overflow. Remote code execution might be possible for some nonstandard build configurations.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages2 packages

NVDmatrix/olm< 3.2.3
Debianmatrix/olm< 3.2.3~dfsg-3+2

Patches

🔴Vulnerability Details

3
GHSA
GHSA-269w-9hm6-g22q: Matrix libolm before 32022-05-24
OSV
CVE-2021-34813: Matrix libolm before 32021-06-16
CVEList
CVE-2021-34813: Matrix libolm before 32021-06-16

📋Vendor Advisories

2
Ubuntu
Olm vulnerability2021-12-15
Debian
CVE-2021-34813: olm - Matrix libolm before 3.2.3 allows a malicious Matrix homeserver to crash a clien...2021

📄Research Papers

1
arXiv
The Matrix Reloaded: A Mechanized Formal Analysis of the Matrix Cryptographic Suite2024-12-07
CVE-2021-34813 — Out-of-bounds Write in Matrix OLM | cvebase