CVE-2024-34063: Vodozemac Vodozemac Has Degraded Secret Zeroization Vulnerability
LOWCVE-2024-34063 is a LOW (CVSS 2.5) vodozemac has degraded secret zeroization vulnerability (CWE-1188: Initialization of a Resource with an Insecure Default) affecting Vodozemac libraries in the crates.io ecosystem. The issue involves vodozemac has degraded secret zeroization capabilities. Remediation is available by upgrading affected packages to version 0.6.0.
CVE-2024-34063 at a Glance
Security Impact
CVSS: 2.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2024-34063
To remediate this vulnerability, upgrade all affected Vodozemac dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade vodozemac to 0.6.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for vodozemac
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-34063, inspect your project dependencies for Vodozemac:
inspect dependencies for vodozemac
Analyze the terminal output to locate any version of Vodozemac in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-1188: Initialization of a Resource with an Insecure Default, where the product initializes or sets a resource with a default that is intended to be changed by the product's installer, administrator, or maintainer, but the default is not secure. In Vodozemac, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-34063 Affected Vodozemac Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
vodozemac
|
crates.io |
≥ 0.5.0
< 0.6.0
|
0.6.0
|
References
Frequently Asked Questions
What is CVE-2024-34063?
Which Vodozemac versions are affected?
What version fixes CVE-2024-34063?
Is vodozemac affected?
What is the CVSS score of CVE-2024-34063?
What CWE is associated with CVE-2024-34063?
How can I check crates.io dependencies for CVE-2024-34063?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-c3hm-hxwf-g5c6",
"modified" : "2024-05-20T15:34:44Z",
"published" : "2024-05-03T19:34:07Z",
"aliases" : [ "CVE-2024-34063" ],
"summary" : "vodozemac has degraded secret zeroization capabilities",
"details" : "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 while vodozemac disabled the default feature set.\n\n### Impact\nThe 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.\n\nOverall, we consider the impact of this issue to be low. Although cryptographic best practices recommend the clearing of sensitive information from memory once it's no longer needed, the inherent limitations of Rust regarding absolute zeroization reduce the practical severity of this lapse.\n\n### Patches\nThe patch is in commit https://github.com/matrix-org/vodozemac/pull/130/commits/297548cad4016ce448c4b5007c54db7ee39489d9.\n\n### Workarounds\nNone.\n\n### For more information\nIf you have any questions or comments about this advisory please email us at [security at matrix.org](mailto:security@matrix.org).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "vodozemac"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0.5.0"
}, {
"fixed" : "0.6.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/matrix-org/vodozemac/security/advisories/GHSA-c3hm-hxwf-g5c6"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-34063"
}, {
"type" : "WEB",
"url" : "https://github.com/matrix-org/vodozemac/commit/297548cad4016ce448c4b5007c54db7ee39489d9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/matrix-org/vodozemac"
}, {
"type" : "WEB",
"url" : "https://rustsec.org/advisories/RUSTSEC-2024-0342.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1188" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-03T19:34:07Z",
"nvd_published_at" : "2024-05-03T10:15:08Z"
}
}