Improper Authentication Affecting matrix-js-sdk package, versions >=9.11.0 <34.8.0
Threat Intelligence
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 ID SNYK-JS-MATRIXJSSDK-8220271
- published 16 Oct 2024
- disclosed 15 Oct 2024
- credit Denis Kasak
Introduced: 15 Oct 2024
CVE-2024-47080 Open this link in a new tabHow 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()
).