{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-42369","published":"2024-08-20T15:15:21.540000Z","last_modified":"2026-06-17T07:49:20.483000Z","status":"Analyzed","cvss":{"version":"3.1","score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-674"],"cpes":[{"criteria":"cpe:2.3:a:matrix:javascript_sdk:*:*:*:*:*:*:*:*","part":"a","vendor":"matrix","product":"javascript_sdk","version_end_excluding":"34.3.1"}],"cpes_truncated":false,"vendors":["matrix"],"products":["matrix/javascript_sdk"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00672,"percentile":0.4715,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-vhr5-g3pm-49fm","ecosystem":"npm","name":"matrix-js-sdk","purl":"pkg:npm/matrix-js-sdk","ranges":[{"introduced":"0","fixed":"34.3.1"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":47,"links":{"html_es":"/es/cve/CVE-2024-42369/","html_en":"/en/cve/CVE-2024-42369/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-42369","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-42369"},"untrusted":{"vendor_name":"Matrix","product_name":"Javascript Sdk","desc_en":"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":[{"untrusted_vendor":"matrix-org","untrusted_product":"matrix-js-sdk","versions":[]}],"references":[{"url":"https://github.com/matrix-org/matrix-js-sdk/commit/a0efed8b881b3db6c9f2c71d6a6e74c2828978c6","tags":["Patch"]},{"url":"https://github.com/matrix-org/matrix-js-sdk/security/advisories/GHSA-vhr5-g3pm-49fm","tags":["Vendor Advisory"]}]}}