CVE-2021-44538
The olm_session_describe function in Matrix libolm before 3.2.7 is vul ...
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by Ubuntu (medium).
Description
The olm_session_describe function in Matrix libolm before 3.2.7 is vulnerable to a buffer overflow. The Olm session object represents a cryptographic channel between two parties. Therefore, its state is partially controllable by the remote party of the channel. Attackers can construct a crafted sequence of messages to manipulate the state of the receiver's session in such a way that, for some buffer sizes, a buffer overflow happens on a call to olm_session_describe. Furthermore, safe buffer sizes were undocumented. The overflow content is partially controllable by the attacker and limited to ASCII spaces and digits. The known affected products are Element Web And SchildiChat Web.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.14 | riot-web | 1.9.7-r0 |
| alpine 3.15 | riot-web | 1.9.7-r0 |
| alpine 3.16 | riot-web, thunderbird | 1.9.7-r0 and 1 more |
| alpine 3.17 | riot-web, thunderbird | 1.9.7-r0 and 1 more |
| alpine 3.18 | element-web, thunderbird | 1.9.7-r0 and 1 more |
| alpine 3.19 | element-web, thunderbird | 1.9.7-r0 and 1 more |
| alpine 3.20 | element-web, thunderbird | 1.9.7-r0 and 1 more |
| alpine 3.21 | element-web, thunderbird | 1.9.7-r0 and 1 more |
| alpine 3.22 | element-web, thunderbird | 1.9.7-r0 and 1 more |
| alpine 3.23 | element-web, thunderbird | 1.9.7-r0 and 1 more |
| alpine 3.24 | element-web | 1.9.7-r0 |
| alpine edge | element-web | 1.9.7-r0 |
Show all 45 entries from 32 sources
| Source | Package | Fixed in |
|---|---|---|
| alpine 3.14 | riot-web | 1.9.7-r0 |
| alpine 3.15 | riot-web | 1.9.7-r0 |
| alpine 3.16 | riot-web | 1.9.7-r0 |
| alpine 3.16 | thunderbird | 91.4.1-r0 |
| alpine 3.17 | riot-web | 1.9.7-r0 |
| alpine 3.17 | thunderbird | 91.4.1-r0 |
| alpine 3.18 | element-web | 1.9.7-r0 |
| alpine 3.18 | thunderbird | 91.4.1-r0 |
| alpine 3.19 | element-web | 1.9.7-r0 |
| alpine 3.19 | thunderbird | 91.4.1-r0 |
| alpine 3.20 | element-web | 1.9.7-r0 |
| alpine 3.20 | thunderbird | 91.4.1-r0 |
| alpine 3.21 | element-web | 1.9.7-r0 |
| alpine 3.21 | thunderbird | 91.4.1-r0 |
| alpine 3.22 | element-web | 1.9.7-r0 |
| alpine 3.22 | thunderbird | 91.4.1-r0 |
| alpine 3.23 | element-web | 1.9.7-r0 |
| alpine 3.23 | thunderbird | 91.4.1-r0 |
| alpine 3.24 | element-web | 1.9.7-r0 |
| alpine edge | element-web | 1.9.7-r0 |
| debian 10 | thunderbird | 1:91.4.1-1~deb10u1 |
| debian 11 | olm | no fix listed |
| debian 11 | thunderbird | 1:91.4.1-1~deb11u1 |
| debian 12 | olm | 3.2.8~dfsg-1 |
| debian 12 | thunderbird | 1:91.4.1-1 |
| debian 13 | olm | 3.2.8~dfsg-1 |
| debian 13 | thunderbird | 1:91.4.1-1 |
| debian 14 | olm | 3.2.8~dfsg-1 |
| debian 14 | thunderbird | 1:91.4.1-1 |
| debian 9 | thunderbird | 1:91.4.1-1~deb9u1 |
| echo | olm | 3.2.8~dfsg-1 |
| echo | thunderbird | 1:91.4.1-1 |
| ubuntu 18.04 | thunderbird | 1:91.5.0+build1-0ubuntu0.18.04.1 |
| ubuntu 20.04 | thunderbird | 1:91.5.0+build1-0ubuntu0.20.04.1 |
| ubuntu 21.10 | thunderbird | 1:91.5.0+build1-0ubuntu0.21.10.1 |
| ubuntu 22.04 | thunderbird | 1:91.5.0+build1-0ubuntu1 |
| ubuntu 22.10 | thunderbird | 1:91.5.0+build1-0ubuntu1 |
| ubuntu 23.04 | thunderbird | 1:91.5.0+build1-0ubuntu1 |
| ubuntu 23.10 | thunderbird | 1:91.5.0+build1-0ubuntu1 |
| ubuntu 24.04 | thunderbird | 1:91.5.0+build1-0ubuntu1 |
| ubuntu 24.10 | thunderbird | 1:91.5.0+build1-0ubuntu1 |
| ubuntu 25.04 | thunderbird | 1:91.5.0+build1-0ubuntu1 |
| ubuntu 25.10 | thunderbird | 1:91.5.0+build1-0ubuntu1 |
| ubuntu 26.04 | thunderbird | 1:91.5.0+build1-0ubuntu1 |
| ubuntu 26.10 | thunderbird | 1:91.5.0+build1-0ubuntu1 |
References
- https://gitlab.matrix.org/matrix-org/olm/-/tags
- https://lists.debian.org/debian-lts-announce/2022/01/msg00001.html
- https://matrix.org/blog/2021/12/13/disclosure-buffer-overflow-in-libolm-and-matrix-js-sdk
- https://matrix.org/blog/2021/12/13/disclosure-buffer-overflow-in-libolm-and-matrix-js-sdk/
- https://ubuntu.com/security/notices/USN-5246-1
- https://ubuntu.com/security/notices/USN-5248-1
- https://www.cve.org/CVERecord?id=CVE-2021-44538
- https://www.debian.org/security/2022/dsa-5034