cvedb.io
CVE-2024-42369
MEDIUM · CVSS 4.1
EPSS exploitation probability: 0%
Published 2024-08-20T15:15:21.540 · Last modified 2026-06-17T07:49:20.483

Summary

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.

Affected products

matrix — javascript_sdk

Does this affect you?

Add your gear to cvedb and we'll alert you only when matrix ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.