CVE-2024-42369

Publication date 20 August 2024

Last updated 11 July 2025


Ubuntu priority

Cvss 3 Severity Score

4.1 · Medium

Score breakdown

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.

Status

Package Ubuntu Release Status
node-matrix-js-sdk 26.04 LTS resolute Not in release
25.10 questing Not in release
25.04 plucky Not in release
24.10 oracular Ignored end of life, was needs-triage
24.04 LTS noble
Needs evaluation
22.04 LTS jammy
Needs evaluation
20.04 LTS focal Ignored end of standard support, was needs-triage

Severity score breakdown

CVSS version: CVSS v3.0

Base score 4.1 · Medium

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


Access our resources on patching vulnerabilities