matrix-rust-sdk Cryptographic Identity Change Notification Vulnerability

Vulnerability

A vulnerability exists in the matrix-sdk-crypto Rust crate, specifically in versions prior to 0.8.0. This vulnerability arises because these versions do not provide a mechanism to notify when a user's cryptographic identity changes from verified to unverified. As a result, client applications that rely on this SDK may fail to recognize such critical changes.

Impact

The lack of notification for identity verification changes could lead to security risks, as applications might continue to treat an unverified identity as verified, potentially allowing unauthorized actions or access.

Remediation

Users can upgrade to matrix-sdk-crypto version 0.8.0 or later, which introduces the necessary notification mechanism by adding a new VerificationLevel::VerificationViolation enum variant. This variant indicates when a previously verified identity has become unverified.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
6.6
remediation
7.7
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.