
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-39252 is a vulnerability discovered in matrix-rust-sdk versions before 0.6.0, disclosed on September 29, 2022. The vulnerability exists in the key forwarding mechanism where the SDK fails to properly verify that forwarded room keys come from the requested device, allowing homeservers to potentially insert room keys of questionable validity (Matrix Advisory).
The vulnerability stems from an insufficient verification process in the key forwarding mechanism. While the SDK correctly verifies that key forwards are responses to previous requests, it fails to validate whether the responding device matches the device from which the key was originally requested. The issue has been assigned a CVSS v3.1 base score of 2.7 (Low) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:N, indicating network vector attack with low complexity but requiring high privileges (Matrix Advisory).
The vulnerability could allow a malicious homeserver to inject room keys of questionable validity into the key store under specific circumstances. While this could potentially assist in an impersonation attack, the impact is mitigated by the fact that all forwarded keys are marked with an 'imported' flag, which indicates lesser authentication properties and is typically displayed to users with visual indicators such as a grey shield beside messages (Matrix Advisory).
The vulnerability has been patched in matrix-sdk-crypto version 0.6.0. Users are advised to upgrade to this version or later to receive the fix. The patch implements proper verification of forwarded room keys to ensure they come from the requested device (Matrix Release).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."