versionize
Affected
- introduced
0.1.1, fixed0.1.10(semver)
Fixed versions
0.1.10
Fix
- Fixed version
0.1.10cargo update -p versionize --precise 0.1.10
Advisory
Also known as: CVE-2023-28448, RUSTSEC-2023-0030
Versionize::deserialize implementation for FamStructWrapper<T> is lacking bound checks, potentially leading to out of bounds memory accesses
Impact
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.
Patches
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.
Workarounds
\-
References
Medium Basis: The source's own band: MODERATE
0.1.1, fixed 0.1.10 (semver)0.1.10
0.1.10cargo update -p versionize --precise 0.1.10Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0