Security mailing lists by PureSourceCode

CVE-2022-39252

HIGH 7.5CVSS 3.1

matrix-sdk-crypto contains potential impersonation via room key forward responses

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.

Published
29 Sep 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-287
Also known as
GHSA-vp68-2wrm-69qmRUSTSEC-2022-0085
Sources
NVDJSONOSV GHSA-vp68-2wrm-69qmJSONOSV RUSTSEC-2022-0085JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV RustSec CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD matrix matrix-rust-sdk
cpe:2.3:a:matrix:matrix-rust-sdk:*:*:*:*:*:*:*:*
< 0.6 0.6
OSV crates.io matrix-sdk-crypto < 0.6.0 0.6.0
OSV crates.io matrix-sdk-crypto >= 0.0.0-0, < 0.6.0 0.6.0

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 29 Sep 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Sep 2022)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Sep 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.