5.3

CVE-2024-42369: matrix-org matrix-js-sdk Uncontrolled Recursion

CVSS: 5.3v3.1MediumAnalyzed
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 40.2% of scored vulnerabilities.

Overall risk
21/100
0100
Low · default modelHow is this calculated?
CVSS score
5.3/10
010
Medium · v3.1 (NVD)
EPSS score
0.48%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known 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

40%

Versus all other CVEs

30-day change

0.00 pp

From 0.48% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.48%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

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