CVE-2024-42369
published medium CVSS 3.1 · 4.1A room with itself as a its predecessor will freeze matrix-js-sdk
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| matrix-org | — | matrix-js-sdk< 34.3.1 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | element-desktopaarch64 | Advisory build | 1.11.75-1.1 | OPENSUSE-SU-2024:14288-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | element-desktopppc64le | Advisory build | 1.11.75-1.1 | OPENSUSE-SU-2024:14288-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | element-desktops390x | Advisory build | 1.11.75-1.1 | OPENSUSE-SU-2024:14288-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | element-desktopx86_64 | Advisory build | 1.11.75-1.1 | OPENSUSE-SU-2024:14288-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | element-webaarch64 | Advisory build | 1.11.75-1.1 | OPENSUSE-SU-2024:14289-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | element-webppc64le | Advisory build | 1.11.75-1.1 | OPENSUSE-SU-2024:14289-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | element-webs390x | Advisory build | 1.11.75-1.1 | OPENSUSE-SU-2024:14289-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | element-webx86_64 | Advisory build | 1.11.75-1.1 | OPENSUSE-SU-2024:14289-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| matrix-org | matrix-js-sdk | < 34.3.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-674 CWE-674: Uncontrolled Recursion
References
2Provider assertions
2GitHub_M · cna
A room with itself as a its predecessor will freeze matrix-js-sdk
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 11311efac21d5fcfb1fff79365f8de6b2ca2e480716b0a3f451282017dad5a24
- Ingested
- 23 Sep 2026, 08:26:31 UTC
- Source record
- Official CVE record