{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-40648","published":"2024-07-18T17:15:05.427000Z","last_modified":"2026-06-17T07:46:14.303000Z","status":"Deferred","cvss":{"version":"3.1","score":5.4,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-287"],"cpes":[],"cpes_truncated":false,"vendors":["matrix-org"],"products":["matrix-org/matrix-rust-sdk"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00431,"percentile":0.29154,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-4qg4-cvh2-crgg","ecosystem":"crates.io","name":"matrix-sdk-crypto","purl":"pkg:cargo/matrix-sdk-crypto","ranges":[{"introduced":"0","fixed":"0.7.2"}],"versions":[],"versions_truncated":false},{"advisory":"RUSTSEC-2024-0356","ecosystem":"crates.io","name":"matrix-sdk-crypto","purl":"pkg:cargo/matrix-sdk-crypto","ranges":[{"introduced":"0.0.0-0","fixed":"0.7.2"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":32,"links":{"html_es":"/es/cve/CVE-2024-40648/","html_en":"/en/cve/CVE-2024-40648/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-40648","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-40648"},"untrusted":{"vendor_name":"matrix-org","product_name":"matrix-rust-sdk","desc_en":"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.","affected":[{"untrusted_vendor":"matrix-org","untrusted_product":"matrix-rust-sdk","versions":[]}],"references":[{"url":"https://github.com/matrix-org/matrix-rust-sdk/commit/76a7052149bb8f722df12da915b3a06d19a6695a","tags":[]},{"url":"https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-4qg4-cvh2-crgg","tags":[]}]}}