Skip to content

CVE-2021-34813 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...

CriticalCVSS 9.8 EPSS 4.3%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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.

Upgrade path

5 packages: 5 fixed.

PackageAffectedFixed inStatus
debian/olm(Debian 12) < 3.2.3~dfsg-3 3.2.3~dfsg-3 Fixed
debian/olm(Debian 13) < 3.2.3~dfsg-3 3.2.3~dfsg-3 Fixed
debian/olm(Debian 14) < 3.2.3~dfsg-3 3.2.3~dfsg-3 Fixed
matrix olm < 3.2.3 3.2.3 Fixed
ubuntu/olm(Ubuntu Pro 20.04) < 3.1.3+dfsg-2ubuntu0.1~esm1; = 3.1.3+dfsg-2; = 3.1.3+dfsg-2build1; = 3.1.3+dfsg-2build2 3.1.3+dfsg-2ubuntu0.1~esm1 Fixed

Affected products

ProductAffected versionsFixed in
debian/olm(Debian:12) < 3.2.3~dfsg-3 3.2.3~dfsg-3
debian/olm(Debian:13) < 3.2.3~dfsg-3 3.2.3~dfsg-3
debian/olm(Debian:14) < 3.2.3~dfsg-3 3.2.3~dfsg-3
matrix olm < 3.2.3 3.2.3
ubuntu/olm(Ubuntu:Pro:20.04) < 3.1.3+dfsg-2ubuntu0.1~esm1 3.1.3+dfsg-2ubuntu0.1~esm1
ubuntu/olm(Ubuntu:Pro:20.04) = 3.1.3+dfsg-2 No fix listed
ubuntu/olm(Ubuntu:Pro:20.04) = 3.1.3+dfsg-2build1 No fix listed
ubuntu/olm(Ubuntu:Pro:20.04) = 3.1.3+dfsg-2build2 No fix listed

References