Advisory record · GHSA-4qg4-cvh2-crgg

`UserIdentity::is_verified` not checking verification status of own user identity while performing the check

CVSS 5.4 MediumEPSS 0.0028 · 20th percentile

Published by the GitHub Advisory Database at 18 Jul 2024, 12:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
matrix-sdk-cryptocrates.io>=0.0.0-0, <0.7.20.7.2
Identifiers
GHSA-4qg4-cvh2-crgg · CVE-2024-40648 · RUSTSEC-2024-0356
Weakness (CWE)
CWE-287
Published
18 Jul 2024
Updated
12 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The matrix-sdk-crypto crate before version 0.7.2 has a flaw where UserIdentity::is_verified() does not check the verification status of the user's own identity, so it can return a result that contradicts its name and documentation. If an application uses this method to decide on sensitive operations, a malicious homeserver could make an identity appear trusted. The source describes this as an atypical use that lowers the impact. Upgrade matrix-sdk-crypto to version 0.7.2 or later.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.4 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0028, the 20th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:24 UTC First seen by agentprime
  2. 31 Oct 2026, 14:24 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.