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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

CVSS 5.4 · Medium EPSS 0.07% · P20
Get alerts for future matching vulnerabilitiesLog 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: NVD (National Vulnerability Database)
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: NVD (National Vulnerability Database)
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Source: NVD (National Vulnerability Database)
Vulnerability Type
认证机制不恰当
Source: NVD (National Vulnerability Database)
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

VendorProductAffected VersionsCPESubscribe
matrix-orgmatrix-rust-sdk < 0.7.2 -

II. Public POCs for CVE-2024-40648

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2024-40648

登录查看更多情报信息。

IV. Related Vulnerabilities

V. Comments for CVE-2024-40648

No comments yet


Leave a comment