Improper Authentication Affecting matrix-js-sdk package, versions >=9.11.0 <34.8.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (18th 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 Learn

Learn about Improper Authentication vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-MATRIXJSSDK-8220271
  • published16 Oct 2024
  • disclosed15 Oct 2024
  • creditDenis Kasak

Introduced: 15 Oct 2024

CVE-2024-47080  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

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

Overview

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

Affected versions of this package are vulnerable to Improper Authentication through the sendSharedHistoryKeys method. An attacker can intercept and obtain sensitive historical keys by injecting malicious devices into the communication without proper verification of the user's cryptographic identity. This is only exploitable if the client is running the legacy crypto stack.

Note:

This vulnerability does not affect users using the new Rust cryptography stack (i.e., those that call MatrixClient.initRustCrypto() instead of MatrixClient.initCrypto()).

CVSS Scores

version 4.0
version 3.1