Out-of-Bounds Affecting element-web package, versions <1.9.7-r0


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.5% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ALPINE320-ELEMENTWEB-7009348
  • published23 May 2024
  • disclosed14 Dec 2021

Introduced: 14 Dec 2021

CVE-2021-44538  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Alpine:3.20 element-web to version 1.9.7-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream element-web package and not the element-web package as distributed by Alpine. See How to fix? for Alpine:3.20 relevant fixed versions and status.

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.

CVSS Scores

version 3.1