CVE-2021-34813
Published: 16 June 2021
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.
Priority
Status
Package | Release | Status |
---|---|---|
olm Launchpad, Ubuntu, Debian |
groovy |
Ignored
(end of life)
|
kinetic |
Not vulnerable
(3.2.3)
|
|
lunar |
Not vulnerable
(3.2.3)
|
|
trusty |
Does not exist
|
|
xenial |
Does not exist
|
|
impish |
Ignored
(end of life)
|
|
hirsute |
Ignored
(end of life)
|
|
upstream |
Released
(3.2.3)
|
|
bionic |
Not vulnerable
(code not present)
|
|
focal |
Released
(3.1.3+dfsg-2ubuntu0.1~esm1)
Available with Ubuntu Pro |
|
jammy |
Not vulnerable
(3.2.3)
|
|
mantic |
Not vulnerable
(3.2.3)
|
|
Patches: upstream: https://gitlab.matrix.org/matrix-org/olm/-/commit/ccc0d122ee1b4d5e5ca4ec1432086be17d5f901b upstream: https://gitlab.matrix.org/matrix-org/olm/-/commit/e82f2601b0dc2a69d3167499ee969555267b7aa6 |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 9.8 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34813
- 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
- https://ubuntu.com/security/notices/USN-5194-1
- NVD
- Launchpad
- Debian