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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- Debian Security Tracker CVE-2021-34813 vendor-advisory
- gitlab.matrix.org issue-tracking patch vendor-advisory
- gitlab.matrix.org issue-tracking release-notes vendor-advisory
- matrix.org exploit issue-tracking patch vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking