CVE-2021-34813

NameCVE-2021-34813
DescriptionMatrix 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severityhigh
Debian Bugs989997

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
olm (PTS)buster2.2.2+git20170526.0fd768e+dfsg-1vulnerable
bullseye3.2.1~dfsg-7vulnerable
bookworm, sid3.2.6~dfsg-2vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
olmsourceexperimental3.2.3~dfsg-1
olmsource(unstable)(unfixed)989997

Notes

[bullseye] - olm <no-dsa> (Minor issue)
[buster] - olm <no-dsa> (Minor issue)
https://gitlab.matrix.org/matrix-org/olm/-/commit/ccc0d122ee1b4d5e5ca4ec1432086be17d5f901b
https://gitlab.matrix.org/matrix-org/olm/-/releases/3.2.3
https://matrix.org/blog/2021/06/14/adventures-in-fuzzing-libolm

Search for package or bug name: Reporting problems