{"id":"GHSA-4qg4-cvh2-crgg","revision":"666450d31f884b7192eaa26ae81ef8d2","records":[{"revision":"666450d31f884b7192eaa26ae81ef8d2","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-4qg4-cvh2-crgg","aliases":["CVE-2024-40648","RUSTSEC-2024-0356"],"title":"matrix-sdk-crypto's `UserIdentity::is_verified` not checking verification status of own user identity while performing the check","description":"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.\n\n### Impact\n\nIf 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.\n\n### Patches\n\nThe 0.7.2 release of the `matrix-sdk-crypto` crate includes a fix.\n\n### Workarounds\n\nNone.\n","state":0,"publishedAt":"2024-07-18T15:28:07+00:00","modifiedAt":"2026-09-10T03:50:16.2962823+00:00","affected":[{"ecosystem":"crates.io","name":"matrix-sdk-crypto","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.7.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":null,"severity":null},{"system":"CVSS_V4","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-4qg4-cvh2-crgg","https://nvd.nist.gov/vuln/detail/CVE-2024-40648","https://github.com/matrix-org/matrix-rust-sdk/commit/76a7052149bb8f722df12da915b3a06d19a6695a","https://github.com/matrix-org/matrix-rust-sdk","https://github.com/matrix-org/matrix-rust-sdk/releases/tag/0.7.2-crypto","https://rustsec.org/advisories/RUSTSEC-2024-0356.html"],"sourceUrl":"https://github.com/advisories/GHSA-4qg4-cvh2-crgg","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-4qg4-cvh2-crgg","identifiers":["GHSA-4qg4-cvh2-crgg","CVE-2024-40648","RUSTSEC-2024-0356"]},"retained":false,"historicalAffected":[]}],"coverage":[]}