Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-42369— A room with itself as a its predecessor will freeze matrix-js-sdk

Quick assessment

Affected
matrix-org matrix-js-sdk
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

matrix-js-sdk是Matrix开源的一个应用组件。 matrix-js-sdk 34.2.0之前版本存在安全漏洞,该漏洞源于恶意家庭服务器可以制作房间或房间结构,使前任形成一个循环,matrix-js-sdk的getRoomUpgradeHistory函数将无限递归,导致代码挂起。

CVSS 4.1 · Medium EPSS 0.48% · P39

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-42369

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
A room with itself as a its predecessor will freeze matrix-js-sdk
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
未经控制的递归
Source: CVE Program / CVE List V5
Vulnerability Title
matrix-js-sdk 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
matrix-js-sdk是Matrix开源的一个应用组件。 matrix-js-sdk 34.2.0之前版本存在安全漏洞,该漏洞源于恶意家庭服务器可以制作房间或房间结构,使前任形成一个循环,matrix-js-sdk的getRoomUpgradeHistory函数将无限递归,导致代码挂起。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
matrix-org matrix-js-sdk < 34.3.1 -

II. Public POCs for CVE-2024-42369

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-42369

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-42369 (1)

Vendor Advisories for CVE-2024-42369 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-42369

No comments yet


Leave a comment