CVE-2024-42369

MEDIUM
Published Aug 20, 2024 Modified Aug 21, 2024 CWE-674

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.

Is your site exposed to CVE-2024-42369?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

4.1
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L

Weakness Type (CWE)

CWE-674 CWE-674

Affected Products

Vendor Product
matrix javascript_sdk

References

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. It has a CVSS v3.1 base score of 4.1 (MEDIUM).
How severe is CVE-2024-42369? +
CVE-2024-42369 has a CVSS v3.1 score of 4.1 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
What products are affected by CVE-2024-42369? +
CVE-2024-42369 affects products from matrix, specifically: javascript_sdk. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2024-42369? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2024-42369 — free, no signup required.