CVE-2024-42369

CVE-2024-42369 is a medium-severity vulnerability in Matrix Javascript Sdk with a CVSS 3.x base score of 4.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-674.

Key facts

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.

Frequently asked questions

What is CVE-2024-42369?
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.
How severe is CVE-2024-42369?
CVE-2024-42369 has a CVSS 3.x base score of 4.1, rated medium severity. It is exploitable over network with low attack complexity, requires low privileges and user interaction. Impact on confidentiality is none, integrity none, and availability low.
Is CVE-2024-42369 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (36th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-42369?
CVE-2024-42369 affects Matrix Javascript Sdk. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-42369?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2024-42369 have an EU (EUVD) identifier?
Yes. CVE-2024-42369 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-2665.
When was CVE-2024-42369 published?
CVE-2024-42369 was published on 2024-08-20 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Matrix Javascript Sdk

All CVEs affecting Matrix Javascript Sdk →

Other CWE-674 (Uncontrolled Recursion) vulnerabilities

Browse all CWE-674 (Uncontrolled Recursion) vulnerabilities →