Key Exchange without Entity Authentication Affecting matrix-js-sdk package, versions <19.7.0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.11% (46th 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-3035643
  • published29 Sept 2022
  • disclosed29 Sept 2022
  • creditUnknown

Introduced: 29 Sep 2022

CVE-2022-39250  (opens in a new tab)
CWE-322  (opens in a new tab)

How to fix?

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

Overview

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

Affected versions of this package are vulnerable to Key Exchange without Entity Authentication. An attacker cooperating with a malicious homeserver could interfere with the verification flow between two users, injecting its own cross-signing user identity in place of one of the users’ identities. This would lead to the other device trusting/verifying the user identity under the control of the homeserver instead of the intended one.

CVSS Scores

version 3.1