A room with itself as a its predecessor will freeze matrix-js-sdk
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| matrix-org | matrix-js-sdk | affected |
|
No data.
No data available yet.
| Source | ID | Title |
|---|---|---|
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 |
GHSA-vhr5-g3pm-49fm | matrix-js-sdk will freeze when a user sets a room with itself as a its predecessor |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.483% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| 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 |
| 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
|