Published Date: January 7, 2025
Package | Affected Versions | Patched Versions | Severity |
---|---|---|---|
📦 matrix-sdk-crypto (Rust) | < 0.8.0 | 0.8.0 | Moderate |
Description
matrix-sdk-crypto
before 0.8.0
, there’s no clear mechanism to notify when a user’s cryptographic identity changes from verified to unverified. This could cause client applications using the SDK to miss such changes, potentially resulting in security oversights.Impact:
Without proper signaling of identity changes, client applications might continue treating an unverified identity as verified. This could compromise the integrity of encrypted communications.
Patches & Workarounds
matrix-sdk-crypto
version 0.8.0.This version introduces the
VerificationLevel::VerificationViolation
enum variant. It explicitly signals when a previously verified cryptographic identity becomes unverified, allowing client applications to handle the situation correctly.Recommendation:
Update your dependencies:
After updating, ensure your application correctly handles the
VerificationViolation
variant to maintain secure communication.