CVE-2022-39252: matrix-org matrix-rust-sdk Improper Authentication
Vulnerability summary
CVE-2022-39252 is a high (CVSS 8.6) Improper Authentication vulnerability in matrix-org matrix-rust-sdk. EPSS estimates a 0.63% chance of exploitation in the next 30 days, higher than 49.2% of scored vulnerabilities.
Timeline
- 29-09-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · Crates.ioEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NDiffers
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NDiffers
EPSS trend
Probability
0.63%
Chance of exploitation in the next 30 days
Percentile
49%
Versus all other CVEs
30-day change
+0.11 pp
From 0.52% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Crates.Io1 product
- matrix-sdk-crypto< 0.6.0 | ≥ 0.0.0-0, < 0.6.0
Matrix1 product
- matrix-rust-sdk< 0.6
Matrix-org1 product
- matrix-rust-sdk< 0.6
3 vendors · 3 products
References
8 links- github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-vp68-2wrm-69qmX Refsource CONFIRMWEBThird Party Advisory
- github.com/matrix-org/matrix-rust-sdk/commit/093fb5d0aa21c0b5eaea6ec96b477f1075271cbbX Refsource MISCWEBPatchThird Party Advisory
- github.com/matrix-org/matrix-rust-sdk/commit/41449d2cc360e347f5d4e1c154ec1e3185f11acdX Refsource MISCWEBPatchThird Party Advisory
- github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-0.6.0X Refsource MISCWEBRelease NotesThird Party Advisory