CVE-2024-34063 Degraded secret zeroization capabilities in vodozemac

Low 2.5 Published Updated

Degraded secret zeroization in vodozemac allows sensitive encryption keys to linger in memory, increasing the risk of data exposure.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-34063?

CVE-2024-34063 is a low-severity vulnerability in matrix-org vodozemac, published on 3 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official 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.

Weakness: CWE-1188

Which versions are affected by CVE-2024-34063?

3 open source packages ship an affected version, including vodozemac.

PackageAffectedFixed in
vodozemac crates.ioFrom 0.5.00.6.0
vodozemac crates.ioFrom 0.5.00.6.0
vodozemac crates.ioFrom 0.5.00.6.0

How do I fix CVE-2024-34063?

Upgrade vodozemac to 0.6.0 or later.

Is CVE-2024-34063 being exploited?

There is no known exploitation of CVE-2024-34063 in the wild and no public exploit code.

Sources

Also known as GHSA-c3hm-hxwf-g5c6, RUSTSEC-2024-0342.

Is CVE-2024-34063 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free