{"cve":"CVE-2024-40648","nvd":{"published":"2024-07-18T17:15:05.427","modified":"2026-06-17T07:46:14.303","status":"Deferred","description":"matrix-rust-sdk is an implementation of a Matrix client-server library in Rust. The `UserIdentity::is_verified()` method in the matrix-sdk-crypto crate before version 0.7.2 doesn't take into account the verification status of the user's own identity while performing the check and may as a result return a value contrary to what is implied by its name and documentation. If the method is used to decide whether to perform sensitive operations towards a user identity, a malicious homeserver could manipulate the outcome in order to make the identity appear trusted. This is not a typical usage of the method, which lowers the impact. The method itself is not used inside the `matrix-sdk-crypto` crate. The 0.7.2 release of the `matrix-sdk-crypto` crate includes a fix. All users are advised to upgrade. There are no known workarounds for this vulnerability.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4},"cwes":["CWE-287"],"references":["https://github.com/matrix-org/matrix-rust-sdk/commit/76a7052149bb8f722df12da915b3a06d19a6695a","https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-4qg4-cvh2-crgg","https://github.com/matrix-org/matrix-rust-sdk/commit/76a7052149bb8f722df12da915b3a06d19a6695a","https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-4qg4-cvh2-crgg"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:52:42.518321223+00:00"},"epss":{"cve":"CVE-2024-40648","score":0.0028,"percentile":0.20473,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-4qg4-cvh2-crgg","url":"https://osv.dev/vulnerability/GHSA-4qg4-cvh2-crgg","summary":"matrix-sdk-crypto's `UserIdentity::is_verified` not checking verification status of own user identity while performing the check","modified":"2026-09-10T03:50:16.296282253Z","packages":[{"ecosystem":"crates.io","name":"matrix-sdk-crypto","purl":"pkg:cargo/matrix-sdk-crypto","ranges":["<0.7.2"],"fixed":["0.7.2"]}]},{"id":"RUSTSEC-2024-0356","url":"https://osv.dev/vulnerability/RUSTSEC-2024-0356","summary":"`UserIdentity::is_verified` not checking verification status of own user identity while performing the check","modified":"2026-10-12T18:00:12.405685687Z","packages":[{"ecosystem":"crates.io","name":"matrix-sdk-crypto","purl":"pkg:cargo/matrix-sdk-crypto","ranges":[">=0.0.0-0 <0.7.2"],"fixed":["0.7.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}