{"id":"EUVD-2024-1554","enisaUuid":"aaa9297a-ddd9-3194-9b0c-18d5911c08de","description":"The matrix-sdk-crypto crate, part of the Matrix Rust SDK project, is an implementation of a Matrix end-to-end encryption state machine in Rust. In Matrix, the server-side `key backup` stores encrypted copies of Matrix message keys. This facilitates key sharing between a user\u0027s devices and provides a redundant copy in case all devices are lost. The key backup uses asymmetric\ncryptography, with each server-side key backup assigned a unique public-private key pair. Due to a logic bug introduced in commit 71136e44c03c79f80d6d1a2446673bc4d53a2067, matrix-sdk-crypto version 0.7.0 will sometimes log the private part of the backup key pair to Rust debug logs (using the `tracing` crate). This issue has been resolved in matrix-sdk-crypto version 0.7.1. No known workarounds are available.","datePublished":"May 13, 2024, 3:43:10 PM","dateUpdated":"Aug 2, 2024, 2:51:10 AM","baseScore":5.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","references":"https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-9ggc-845v-gcgv\nhttps://github.com/matrix-org/matrix-rust-sdk/commit/71136e44c03c79f80d6d1a2446673bc4d53a2067\nhttps://github.com/matrix-org/matrix-rust-sdk/commit/fa10bbb5dd0f9120a51aa1854cec752e25790bb0\nhttps://crates.io/crates/matrix-sdk-crypto/0.7.1\nhttps://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-crypto-0.7.1\n","aliases":"CVE-2024-34353\nGHSA-9ggc-845v-gcgv\n","assigner":"GitHub_M","epss":0.19,"enisaIdProduct":[{"id":"7ebabccf-1945-36fc-8249-ee0bcae6481f","product":{"name":"matrix-sdk-crypto","vendor":{"name":"matrix-org"}},"product_version":"\u003d 0.7.0"}],"enisaIdVendor":[{"id":"1842739a-d591-3d7d-902b-27d74b11267b","vendor":{"name":"matrix-org"}}],"enisaIdVulnerability":[{"id":"68c0d4da-b326-30bf-8066-7c33db77a27c","vulnerability":{"id":"CVE-2024-34353","description":"The matrix-sdk-crypto crate, part of the Matrix Rust SDK project, is an implementation of a Matrix end-to-end encryption state machine in Rust. In Matrix, the server-side `key backup` stores encrypted copies of Matrix message keys. This facilitates key sharing between a user\u0027s devices and provides a redundant copy in case all devices are lost. The key backup uses asymmetric\ncryptography, with each server-side key backup assigned a unique public-private key pair. Due to a logic bug introduced in commit 71136e44c03c79f80d6d1a2446673bc4d53a2067, matrix-sdk-crypto version 0.7.0 will sometimes log the private part of the backup key pair to Rust debug logs (using the `tracing` crate). This issue has been resolved in matrix-sdk-crypto version 0.7.1. No known workarounds are available.","datePublished":"May 13, 2024, 3:43:10 PM","dateUpdated":"Aug 2, 2024, 2:51:10 AM","status":"PUBLISHED","baseScore":5.5,"baseScoreVersion":"3.1","baseScoreVector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","references":"https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-9ggc-845v-gcgv\nhttps://github.com/matrix-org/matrix-rust-sdk/commit/71136e44c03c79f80d6d1a2446673bc4d53a2067\nhttps://github.com/matrix-org/matrix-rust-sdk/commit/fa10bbb5dd0f9120a51aa1854cec752e25790bb0\nhttps://crates.io/crates/matrix-sdk-crypto/0.7.1\nhttps://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-crypto-0.7.1\n","enisa_id":"EUVD-2024-1554\n","assigner":"GitHub_M","epss":0.19,"dataProcessed":"Nov 15, 2026, 1:37:41 AM","vulnerabilityProduct":[{"id":"0d1f0980-ebfb-339c-b6d9-4ff9a7179333","product":{"name":"matrix-sdk-crypto","vendor":{"name":"matrix-org"}},"product_version":"\u003d 0.7.0"}],"vulnerabilityVendor":[{"id":"ed843745-ad37-34ee-af53-a4db930e2ede","vendor":{"name":"matrix-org"}}]}},{"id":"9ceb5093-606a-37af-ba8e-746064df2a25","vulnerability":{"id":"GHSA-9ggc-845v-gcgv","description":"matrix-sdk-crypto contains a log exposure of private key of the server-side key backup","datePublished":"May 13, 2024, 4:04:37 PM","dateUpdated":"May 14, 2024, 8:40:56 PM","baseScore":null,"references":"https://github.com/matrix-org/matrix-rust-sdk/security/advisories/GHSA-9ggc-845v-gcgv\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-34353\nhttps://github.com/matrix-org/matrix-rust-sdk/commit/71136e44c03c79f80d6d1a2446673bc4d53a2067\nhttps://github.com/matrix-org/matrix-rust-sdk/commit/fa10bbb5dd0f9120a51aa1854cec752e25790bb0\nhttps://github.com/matrix-org/matrix-rust-sdk\nhttps://github.com/matrix-org/matrix-rust-sdk/releases/tag/matrix-sdk-crypto-0.7.1\n","enisa_id":"EUVD-2024-1554\n","aliases":"CVE-2024-34353\nGHSA-9ggc-845v-gcgv\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:36:39 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}}],"enisaIdAdvisory":[]}