← Back to CVEs
CVE-2022-39252
HIGH8.6
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.
CVE Details
CVSS v3.1 Score8.6
SeverityHIGH
CVSS VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
Attack VectorNETWORK
ComplexityLOW
Privileges RequiredNONE
User InteractionNONE
Published9/29/2022
Last Modified11/21/2024
Sourcenvd
Honeypot Sightings0
Affected Products
matrix:matrix-rust-sdk
Weaknesses (CWE)
CWE-287CWE-322
References
https://github.com/matrix-org/matrix-rust-sdk/commit/093fb5d0aa21c0b5eaea6ec96b477f1075271cbb(security-advisories@github.com)
https://github.com/matrix-org/matrix-rust-sdk/commit/41449d2cc360e347f5d4e1c154ec1e3185f11acd(security-advisories@github.com)
https://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-0.6.0(security-advisories@github.com)
https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-vp68-2wrm-69qm(security-advisories@github.com)
https://github.com/matrix-org/matrix-rust-sdk/commit/093fb5d0aa21c0b5eaea6ec96b477f1075271cbb(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/matrix-org/matrix-rust-sdk/commit/41449d2cc360e347f5d4e1c154ec1e3185f11acd(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-0.6.0(af854a3a-2127-422b-91ae-364da2661108)
https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-vp68-2wrm-69qm(af854a3a-2127-422b-91ae-364da2661108)
IOC Correlations
No correlations recorded
This product uses data from the NVD API but is not endorsed or certified by the NVD.