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.
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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2024-08-20T14:37:19.226Z

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.