Description
matrix-js-sdk is a Matrix messaging protocol Client-Server SDK for JavaScript. A malicious homeserver can craft a room or room structure such that the predecessors form a cycle. The matrix-js-sdk's getRoomUpgradeHistory function will infinitely recurse in this case, causing the code to hang. This method is public but also called by the 'leaveRoomChain()' method, so leaving a room will also trigger the bug. This was patched in matrix-js-sdk 34.3.1.
Published: 2024-08-20
Score: 4.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

No vendor fix or workaround currently provided.

Additional remediation guidance may be available on OpenCVE Cloud.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2024-2665 matrix-js-sdk is a Matrix messaging protocol Client-Server SDK for JavaScript. A malicious homeserver can craft a room or room structure such that the predecessors form a cycle. The matrix-js-sdk's getRoomUpgradeHistory function will infinitely recurse in this case, causing the code to hang. This method is public but also called by the 'leaveRoomChain()' method, so leaving a room will also trigger the bug. This was patched in matrix-js-sdk 34.3.1.
Github GHSA Github GHSA GHSA-vhr5-g3pm-49fm matrix-js-sdk will freeze when a user sets a room with itself as a its predecessor
History

Tue, 03 Sep 2024 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 21 Aug 2024 16:30:00 +0000

Type Values Removed Values Added
First Time appeared Matrix
Matrix javascript Sdk
CPEs cpe:2.3:a:matrix:javascript_sdk:*:*:*:*:*:*:*:*
Vendors & Products Matrix
Matrix javascript Sdk

Tue, 20 Aug 2024 14:45:00 +0000

Type Values Removed Values Added
Description matrix-js-sdk is a Matrix messaging protocol Client-Server SDK for JavaScript. A malicious homeserver can craft a room or room structure such that the predecessors form a cycle. The matrix-js-sdk's getRoomUpgradeHistory function will infinitely recurse in this case, causing the code to hang. This method is public but also called by the 'leaveRoomChain()' method, so leaving a room will also trigger the bug. This was patched in matrix-js-sdk 34.3.1.
Title A room with itself as a its predecessor will freeze matrix-js-sdk
Weaknesses CWE-674
References
Metrics cvssV3_1

{'score': 4.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L'}


Subscriptions

Matrix Javascript Sdk
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-09-03T17:06:42.231Z

Reserved: 2024-07-30T14:01:33.923Z

Link: CVE-2024-42369

cve-icon Vulnrichment

Updated: 2024-09-03T17:06:37.900Z

cve-icon NVD

Status : Analyzed

Published: 2024-08-20T15:15:21.540

Modified: 2024-08-21T16:01:03.147

Link: CVE-2024-42369

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses