CVE-2024-34063
Description
vodozemac is an implementation of Olm and Megolm in pure Rust. Versions 0.5.0 and 0.5.1 of vodozemac have degraded secret zeroization capabilities, due to changes in third-party cryptographic dependencies (the Dalek crates), which moved secret zeroization capabilities behind a feature flag and defaulted this feature to off. The degraded zeroization capabilities could result in the production of more memory copies of encryption secrets and secrets could linger in memory longer than necessary. This marginally increases the risk of sensitive data exposure. This issue has been addressed in version 0.6.0 and users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
vodozemaccrates.io | >= 0.5.0, < 0.6.0 | 0.6.0 |
Patches
1297548cad401fix: Bump our dependencies and enable zeroization in the dalek crates
1 file changed · +9 −9
Cargo.toml+9 −9 modified@@ -26,30 +26,30 @@ libolm-compat = [] low-level-api = [] [dependencies] -aes = "0.8.3" +aes = "0.8.4" arrayvec = { version = "0.7.4", features = ["serde"] } -base64 = "0.21.7" +base64 = "0.22.0" cbc = { version = "0.1.2", features = ["std"] } -curve25519-dalek = { version = "4.1.1", default-features = false } -ed25519-dalek = { version = "2.1.0", default-features = false, features = ["rand_core", "std", "serde", "hazmat"] } +curve25519-dalek = { version = "4.1.2", default-features = false, features = ["zeroize"] } +ed25519-dalek = { version = "2.1.1", default-features = false, features = ["rand_core", "std", "serde", "hazmat", "zeroize"] } getrandom = "0.2.12" hkdf = "0.12.4" hmac = "0.12.1" matrix-pickle = { version = "0.1.1" } pkcs7 = "0.4.1" prost = "0.12.3" rand = "0.8.5" -serde = { version = "1.0.196", features = ["derive"] } +serde = { version = "1.0.197", features = ["derive"] } serde_bytes = "0.11.14" -serde_json = "1.0.113" +serde_json = "1.0.114" sha2 = "0.10.8" subtle = "2.5.0" -thiserror = "1.0.56" -x25519-dalek = { version = "2.0.0", features = ["serde", "reusable_secrets", "static_secrets"] } +thiserror = "1.0.58" +x25519-dalek = { version = "2.0.1", features = ["serde", "reusable_secrets", "static_secrets", "zeroize"] } zeroize = "1.7.0" [dev-dependencies] -anyhow = "1.0.79" +anyhow = "1.0.81" assert_matches = "1.5.0" olm-rs = "2.2.0" proptest = "1.4.0"
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5- github.com/advisories/GHSA-c3hm-hxwf-g5c6ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-34063ghsaADVISORY
- github.com/matrix-org/vodozemac/commit/297548cad4016ce448c4b5007c54db7ee39489d9nvdWEB
- github.com/matrix-org/vodozemac/security/advisories/GHSA-c3hm-hxwf-g5c6nvdWEB
- rustsec.org/advisories/RUSTSEC-2024-0342.htmlghsaWEB
News mentions
0No linked articles in our index yet.