CVE-2021-44538: The olm_session_describe function in Matrix libolm before 3.2.7 is vulnerable to a buffer overflow
64
This week
CRITICAL 9.8REMOTEWATCHLISTUPGRADEUPGRADEUPGRADE
CVE-2021-44538 is a critical-severity flaw (CVSS 9.8) affecting element, javascript sdk, olm. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 o
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
debian debian linux MITIGATE
Affected: 9.0 · 10.0 · 11.0
Fixed in: no fixed release known
Safe to downgrade to: a release before 9.0
Check your OS release
cat /etc/os-release; uname -r
Debian / Ubuntu
sudo apt update && sudo apt full-upgrade
RHEL / Amazon Linux / Fedora
sudo dnf upgrade --refresh
Windows
Install the latest cumulative update from Windows Update
If no patch exists yet
OS downgrades are not safe. Apply the vendor mitigation from the advisory and restrict exposure.
Verify at the official sourceNVD · CVE Program · Report a problem with this page Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-44538?
element: upgrade to 1.9.7; javascript sdk: upgrade to 15.2.1; olm: upgrade to 3.2.8. Exact commands for each OS are on this page.
Is CVE-2021-44538 being exploited?
CVE-2021-44538 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-44538 affect?
CVE-2021-44538 affects element, javascript sdk, olm. Severity is critical (CVSS 9.8). 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
How urgent is CVE-2021-44538?
Priority 64/100. Critical severity; Remotely exploitable, no login, no user action; On your watchlist