First published: Thu Sep 29 2022(Updated: )
matrix-rust-sdk is an implementation of a Matrix client-server library in Rust, and matrix-sdk-crypto is the Matrix encryption library. Prior to version 0.6, when a user requests a room key from their devices, the software correctly remembers the request. When the user receives a forwarded room key, the software accepts it without checking who the room key came from. This allows homeservers to try to insert room keys of questionable validity, potentially mounting an impersonation attack. Version 0.6 fixes this issue.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Matrix Matrix-rust-sdk | <0.6 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-39252 is a vulnerability in the matrix-rust-sdk and matrix-sdk-crypto libraries, prior to version 0.6, that allows an attacker to bypass encryption and obtain room keys.
CVE-2022-39252 has a high severity rating with a CVSS score of 7.5.
The affected software is Matrix-rust-sdk version up to exclusive 0.6.
An attacker can exploit CVE-2022-39252 by requesting a room key and receiving a forwarded room key, bypassing encryption.
CVE-2022-39252 can be fixed by upgrading to version 0.6 or higher of the Matrix-rust-sdk library.