Uncontrolled Recursion Affecting matrix-js-sdk package, versions <34.3.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. 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-JS-MATRIXJSSDK-7723928
  • published21 Aug 2024
  • disclosed20 Aug 2024
  • creditmorguldir

Introduced: 20 Aug 2024

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

How to fix?

Upgrade matrix-js-sdk to version 34.3.1 or higher.

Overview

matrix-js-sdk is a Matrix Client-Server SDK for Javascript

Affected versions of this package are vulnerable to Uncontrolled Recursion via the getRoomUpgradeHistory function. An attacker can cause the application to hang by crafting a room or room structure with cyclical predecessors.

References

CVSS Scores

version 4.0
version 3.1