matrix-rust-sdk up to 0.5 Room Key key exchange without entity authentication
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
7.7 | $0-$5k | 0.00 |
A vulnerability was found in matrix-rust-sdk up to 0.5 and classified as critical. This issue affects an unknown functionality of the component Room Key Handler. The manipulation with an unknown input leads to a key exchange without entity authentication vulnerability. Using CWE to declare the problem leads to CWE-322. The product performs a key exchange with an actor without verifying the identity of that actor. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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.
The weakness was presented 09/30/2022 as GHSA-vp68-2wrm-69qm. It is possible to read the advisory at github.com. The identification of this vulnerability is CVE-2022-39252 since 09/02/2022. The technical details are unknown and an exploit is not publicly available.
Upgrading to version 0.6.0 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 093fb5d0aa21c0b5eaea6ec96b477f1075271cbb is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.8VulDB Meta Temp Score: 7.7
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.5
NVD Vector: 🔍
CNA Base Score: 8.6
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Key exchange without entity authenticationCWE: CWE-322 / CWE-320
CAPEC: 🔍
ATT&CK: 🔍
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: matrix-rust-sdk 0.6.0
Patch: 093fb5d0aa21c0b5eaea6ec96b477f1075271cbb
Timeline
09/02/2022 🔍09/30/2022 🔍
09/30/2022 🔍
10/26/2022 🔍
Sources
Advisory: GHSA-vp68-2wrm-69qmStatus: Confirmed
CVE: CVE-2022-39252 (🔍)
Entry
Created: 09/30/2022 08:43Updated: 10/26/2022 09:46
Changes: 09/30/2022 08:43 (54), 10/26/2022 09:46 (11)
Complete: 🔍
Cache ID: 18:083:103
No comments yet. Languages: en.
Please log in to comment.