# CVE-2024-34353: matrix-sdk-crypto contains a log exposure of private key of the server-side key backup

Source: https://junglewise.ai/threats/cve-2024-34353-matrix-sdk-crypto-contains-a-log-exposure-of-private-key-of-the  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-05-13  
License: CC BY 4.0 with a link back

CVE-2024-34353 · Severity: low · CVSS 3.1 · Published 2024-05-13

matrix-sdk-crypto contains a log exposure of private key of the server-side key backup

Technologies: [matrix-sdk-crypto (crates.io)](https://junglewise.ai/threats/technologies/matrix-sdk-crypto). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io).

## Quick answers

**Is CVE-2024-34353 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-34353 being exploited in the wild.

**How severe is CVE-2024-34353?** Low severity, with a CVSS score of 3.1, published 13 May 2024.

**Which products and versions are affected?** matrix-sdk-crypto (crates.io) SEMVER:introduced=0.7.0,fixed=0.7.1.

**Is there a fix for CVE-2024-34353?** Yes. matrix-sdk-crypto (crates.io): upgrade to 0.7.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-34353?** Check whether you run matrix-sdk-crypto (crates.io) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- matrix-sdk-crypto (crates.io): upgrade to 0.7.1 or later

  ```sh
  cargo update -p matrix-sdk-crypto
  ```


## Affected products

- matrix-sdk-crypto (crates.io) SEMVER:introduced=0.7.0,fixed=0.7.1

## Identifiers

- CVE-2024-34353
- GHSA-9ggc-845v-gcgv

## Related threats

- [matrix-sdk-crypto panic in custom to-device message encryption](https://junglewise.ai/threats/rustsec-2026-0318-sending-custom-to-device-messages-may-panics-10c285de)
- [Matrix Rust SDK sender spoofing in Olm-encrypted to-device messages](https://junglewise.ai/threats/cve-2026-45056-matrix-rust-sdk-sender-spoofing-in-olm-encrypted-to-device)
- [RUSTSEC-2025-0041 - matrix-sdk-crypto vulnerable to encrypted event sender spoofing by homeserver administrator](https://junglewise.ai/threats/cve-2025-48937-matrix-sdk-crypto-vulnerable-to-sender-of-encrypted-events-being)
- [RUSTSEC-2024-0356 - `UserIdentity::is_verified` not checking verification status of own user identity while performing the check](https://junglewise.ai/threats/cve-2024-40648-matrix-sdk-crypto-s-useridentity-is-verified-not-checking)
- [RUSTSEC-2024-0434 - Missing facility to signal rotation of a verified cryptographic identity](https://junglewise.ai/threats/cve-2024-52813-matrix-sdk-crypto-missing-facility-to-signal-rotation-of-a)
