Rust advisories / versionize
Vulnerability MediumRUSTSEC-2023-0030 · versionize
RUSTSEC-2023-0030: `Versionize::deserialize` implementation for `FamStructWrapper<T>` is lacking bound checks, potentially leading to out of bounds memory accesses
Short answerA security vulnerability in the versionize crate: `Versionize::deserialize` implementation for `FamStructWrapper<T>` is lacking bound checks, potentially leading to out of bounds memory accesses. Medium severity (CVSS 5.7). Fixed in 0.1.10: update to a fixed version.
| Crate | versionize |
|---|---|
| Type | Vulnerability (memory-exposure) |
| Affected versions | Before 0.1.10. |
| Fixed in | 0.1.10 |
| Severity | Medium, CVSS 5.7 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L |
| Published | 2023-03-24 |
| Last changed | 2023-11-08 |
| Also known as | CVE-2023-28448, GHSA-8vxc-r5wp-vgvc |
What to do
- See which version you have:
cargo tree -i versionize(it also shows which of your dependencies pulls it in). - Update within your version requirement:
cargo update -p versionize. If the fix is a newer major or minor than your requirement allows, raise it in Cargo.toml (for exampleversionize = "0.1.10") or update the dependency that pulls it in. - Check again with
cargo audit, or paste your Cargo.lock into our Cargo.toml checker.
Details from the advisory
An issue was discovered in the Versionize::deserialize implementation provided by the versionize crate for vmm_sys_util::fam::FamStructWrapper, which can lead to out of bounds memory accesses. The impact started with version 0.1.1. The issue was corrected in version 0.1.10 by inserting a check that verifies, for any deserialized header, the lengths of compared flexible arrays are equal and aborting deserialization otherwise.
References
- Package: crates.io/crates/versionize
- Advisory: rustsec.org/advisories/RUSTSEC-2023-0030.html
- Web: github.com/firecracker-microvm/versionize/pull/53
From the RustSec Advisory Database (CC0-1.0) via the OSV export, downloaded Oct 24, 2026. Severity score computed from the published CVSS vector.
Up next
Are you affected?Check your whole dependency treePaste Cargo.lock: every advisory, for your exact versions.Read it next →Also worth your time
Did this answer your question?