5.3

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

Analyzed
AliasesUBUNTU-CVE-2024-42369DEBIAN-CVE-2024-42369GHSA-vhr5-g3pm-49fm
Published 20-08-2024Last modified 03-09-2024

Vulnerability summary

CVE-2024-42369 is a medium (CVSS 5.3) Uncontrolled Recursion vulnerability in matrix-org matrix-js-sdk. EPSS estimates a 0.48% chance of exploitation in the next 30 days, higher than 43.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 4.1, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.3/10
010
Medium · v3.1 (NVD)
EPSS score
0.48%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 20-08-2024
    PublishedVulnerability first disclosed.
  2. 03-09-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

6 scores · 5 sources · 2 versions

EPSS trend

Probability

0.48%

Chance of exploitation in the next 30 days

Percentile

43%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.48% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Opensuse2 products
  • element-desktop&distro=openSUSE Tumbleweed< 1.11.75-1.1
  • element-web&distro=openSUSE Tumbleweed< 1.11.75-1.1
Debian1 product
  • node-matrix-js-sdkAll versions (No fix recorded)
Matrix1 product
Matrix-org1 product
Npm1 product
  • matrix-js-sdk< 34.3.1
Ubuntu1 product
  • node-matrix-js-sdkAll versions (No fix recorded)

6 vendors · 7 products

References

8 links