Buffer overflow in Cinny Project
CVE-2021-44538
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.019 (79.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 79th percentile — 79.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.019 · newest: 0.019 · change: 0.000
Affected products
- Cinny Project
- Matrix Element
- Matrix JavaScript Sdk
- Matrix Olm
- Schildi Schildichat
- Debian Linux — versions 9.0, 10.0, 11.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- gitlab.matrix.org/matrix-org/olm/-/tags (Product, Third Party Advisory)
- matrix.org/blog/2021/12/13/disclosure-buffer-overflow-in-libolm-and-matrix-js-s… (Patch, Vendor Advisory)
- www.debian.org/security/2022/dsa-5034 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2022/01/msg00001.html (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-44538?
- CVE-2021-44538 is a critical-severity vulnerability in Cinny Project, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 9.8/10. Published 2021-12-14.
- How severe is CVE-2021-44538?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2021-44538 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.