Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2024-40648— `UserIdentity::is_verified` not checking verification status of own user identity while performing the check in matrix-rust-sdk

Quick assessment

Affected
matrix-org matrix-rust-sdk
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

matrix-rust-sdk是matrix开源的一个 Rust 中 Matrix 客户端-服务器库的实现。 matrix-rust-sdk 0.7.2之前版本存在安全漏洞,该漏洞源于在执行检查时不检查自己用户身份的验证状态。

CVSS 5.4 · Medium EPSS 0.28% · P18

Possible ATT&CK Techniques 1 AI

T1078.004 · Cloud Accounts
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2024-40648

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
`UserIdentity::is_verified` not checking verification status of own user identity while performing the check in matrix-rust-sdk
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
认证机制不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
matrix-rust-sdk 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
matrix-rust-sdk是matrix开源的一个 Rust 中 Matrix 客户端-服务器库的实现。 matrix-rust-sdk 0.7.2之前版本存在安全漏洞,该漏洞源于在执行检查时不检查自己用户身份的验证状态。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
matrix-org matrix-rust-sdk < 0.7.2 -

II. Public POCs for CVE-2024-40648

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-40648

请登录查看更多情报信息。

Patches & Fixes for CVE-2024-40648 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-40648

No comments yet


Leave a comment