CVE-2024-40648

MediumCVSS 5.4/10Last modified Jun 17, 2026

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.

Metrics

CVSS 3.1 5.4/10CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Weakness enumeration

Affected software

No affected versions have been published.

Timeline

Published
Jul 18, 2024
Last modified
Jun 17, 2026
NVD status
Deferred

Related CVEs from 2024

CVE-2024-406498.4In TBD of TBD, there is a possible use-after-free due to a logic error in the code. This could lead to local escalation of privilege in the CVE-2024-40658.8A vulnerability was found in Tenda AC8 16.03.34.09. It has been rated as critical. This issue affects the function formSetRebootTimer of theCVE-2024-406507.8In wifi_item_edit_content of styles.xml , there is a possible FRP bypass due to Missing check for FRP state. This could lead to local escalaCVE-2024-406518.4In TBD of TBD, there is a possible use-after-free due to a logic error in the code. This could lead to local escalation of privilege in the CVE-2024-406527.8In onCreate of SettingsHomepageActivity.java, there is a possible way to access the Settings app while the device is provisioning due to a mCVE-2024-406537.3In multiple functions of ConnectionServiceWrapper.java, there is a possible way to retain a permission forever in the background due to a loCVE-2024-406547.8In multiple locations, there is a possible permission bypass due to a confused deputy. This could lead to local escalation of privilege withCVE-2024-406557.8In bindAndGetCallIdentification of CallScreeningServiceHelper.java, there is a possible way to maintain a while-in-use permission in the bacCVE-2024-406565.5In handleCreateConferenceComplete of ConnectionServiceWrapper.java, there is a possible way to reveal images across users due to a confused CVE-2024-406577.8In addPreferencesForType of AccountTypePreferenceLoader.java, there is a possible way to disable apps for other users due to a confused depuCVE-2024-406587.8In getConfig of SoftVideoDecoderOMXComponent.cpp, there is a possible out of bounds write due to a heap buffer overflow. This could lead to CVE-2024-406595.5In getRegistration of RemoteProvisioningService.java, there is a possible way to permanently disable the AndroidKeyStore key generation feat
CVE-2024-40648: Medium severity, CVSS 5.4 | Vulnix