> CVE-2024-42369 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2024-08-20 15:15
MODIFIED
2024-08-21 16:01
CVSS_SCORE V3
4.1
EPSS (Prob. Exploit)
0.48%
Top 58.2%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-11 OSV 🔗 2026-11-08

> 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.

> AFFECTED_PRODUCTS

Matrix - Javascript Sdk
< 34.3.1

> CVSS V3 METRICS

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

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:N/I:N/A:L
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
None (N)
Aucune divulgation d'informations
I (Impact Intégrité)
Integrity Impact
None (N)
Aucune modification de données possible
A (Impact Disponibilité)
Availability Impact
Low (L)
Interruption partielle du service possible

> RÉSUMÉ DES IMPACTS

Confidentialité
None
Aucune divulgation d'informations
Intégrité
None
Aucune modification de données possible
Disponibilité
Low
Interruption partielle du service possible

> GITHUB SECURITY ADVISORY

GHSA-vhr5-g3pm-49fm MODERATE

matrix-js-sdk will freeze when a user sets a room with itself as a its predecessor

AFFECTED PACKAGES:
NPM / matrix-js-sdk
< 34.3.1
Fixed in: 34.3.1

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

A room with itself as a its predecessor will freeze matrix-js-sdk

AFFECTED PACKAGES:
Unknown / Unknown
66 versions affected
ALIASES:
GHSA-vhr5-g3pm-49fm

> HISTORIQUE DES MODIFICATIONS

Première apparition
20/08/2024 15:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:53
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME