CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Matrix

CVE-2021-44538
Matrix Element vulnerability

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.

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Element, Javascript Sdk, Olm, Schildichat, Cinny, Debian Linux. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Matrix Element runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Matrix products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.