Uncontrolled Recursion Affecting node-matrix-js-sdk package, versions *


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.05% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN11-NODEMATRIXJSSDK-8500168
  • published13 Dec 2024
  • disclosed20 Aug 2024

Introduced: 20 Aug 2024

CVE-2024-42369  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

There is no fixed version for Debian:11 node-matrix-js-sdk.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-matrix-js-sdk package and not the node-matrix-js-sdk package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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.

CVSS Scores

version 3.1