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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2022-39252— When matrix-rust-sdk recieves forwarded room keys, the reciever doesn't check if it requested the key from the forwarder

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是一个雄心勃勃的新生态系统,用于开放联合即时消息和 VoIP。 Matrix matrix-sdk-crypto 0.5之前版本存在安全漏洞,该漏洞源于允许恶意家庭服务器在某些情况下将有效性有问题的房间密钥插入密钥存储区,从而可能有助于模拟攻击。

CVSS 8.6 · High EPSS 0.63% · P50
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-39252

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
When matrix-rust-sdk recieves forwarded room keys, the reciever doesn't check if it requested the key from the forwarder
Source: CVE Program / CVE List V5
Vulnerability Description
matrix-rust-sdk is an implementation of a Matrix client-server library in Rust, and matrix-sdk-crypto is the Matrix encryption library. Prior to version 0.6, when a user requests a room key from their devices, the software correctly remembers the request. When the user receives a forwarded room key, the software accepts it without checking who the room key came from. This allows homeservers to try to insert room keys of questionable validity, potentially mounting an impersonation attack. Version 0.6 fixes this issue.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
未进行实体认证的密钥交换
Source: CVE Program / CVE List V5
Vulnerability Title
Matrix 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Matrix是一个雄心勃勃的新生态系统,用于开放联合即时消息和 VoIP。 Matrix matrix-sdk-crypto 0.5之前版本存在安全漏洞,该漏洞源于允许恶意家庭服务器在某些情况下将有效性有问题的房间密钥插入密钥存储区,从而可能有助于模拟攻击。
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.6 -

II. Public POCs for CVE-2022-39252

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-39252

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

Patches & Fixes for CVE-2022-39252 (2)

Vendor Advisories for CVE-2022-39252 (1)

Other References for CVE-2022-39252 (1)

IV. Related Vulnerabilities