Vulnerability DatabaseRUSTSEC-2024-0356

RUSTSEC-2024-0356
Rust vulnerability analysis and mitigation

Overview

A security vulnerability (CVE-2024-40648) was discovered in the matrix-sdk-crypto crate versions prior to 0.7.2. The issue lies in the UserIdentity::is_verified() method, which fails to properly check the verification status of the user's own identity during verification checks. This vulnerability was disclosed on July 18, 2024, affecting the Matrix Rust SDK crypto implementation (GitHub Advisory).

Technical details

The vulnerability stems from a logic flaw in the UserIdentity::is_verified() method implementation within the matrix-sdk-crypto crate. The method incorrectly performs verification checks by not considering the user's own identity status, potentially returning results that contradict its documented behavior and intended functionality (GitHub Advisory).

Impact

The vulnerability's impact is considered moderate. If the affected method is used to make decisions about sensitive operations related to user identity, a malicious homeserver could potentially manipulate the outcome to make an identity appear trusted. However, the impact is mitigated by the fact that this is not a typical usage of the method, and it is not utilized within the matrix-sdk-crypto crate itself (GitHub Advisory).

Exploitability

The vulnerability requires a malicious homeserver to exploit, as it could manipulate the verification status outcomes. The specific exploitation details are not publicly disclosed, but the vulnerability has been assigned a moderate severity rating (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 0.7.2 of the matrix-sdk-crypto crate, with the fix implemented in commit 76a7052. No workarounds are available for affected versions, making upgrading to the patched version the only solution (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Rust vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-46369HIGH7.5
  • Rust logoRust
  • nimiq-blockchain
NoYesAug 12, 2026
GHSA-8rw6-p7m8-63jpMEDIUM6.5
  • Rust logoRust
  • surrealdb
NoYesAug 14, 2026
CVE-2026-73430MEDIUM5.3
  • Rust logoRust
  • russh
NoYesAug 12, 2026
CVE-2026-73429MEDIUM5.3
  • Rust logoRust
  • yazi
NoYesAug 12, 2026
CVE-2026-73489MEDIUM4.3
  • Rust logoRust
  • yazi
NoYesAug 13, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management