Advisory

RUSTSEC-2022-0085

Also known as: CVE-2022-39252, GHSA-vp68-2wrm-69qm

Summary

matrix-sdk Impersonation of room keys

Details

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.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Dates

Published
2022-09-29 12:00 UTC
Modified
2023-11-08 04:10 UTC

Affected packages and fixes

matrix-sdk-crypto

crates.io · All systems

Affected

  • introduced 0.0.0-0, fixed 0.6.0 (semver)

Fixed versions

0.6.0

Fix

  • Fixed version 0.6.0
    cargo update -p matrix-sdk-crypto --precise 0.6.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: RustSec Advisory Database · CC0-1.0

Sources & licences