molecule
Affected
- introduced
0, fixed0.7.2(semver)
Fixed versions
0.7.2
Fix
- Fixed version
0.7.2cargo update -p molecule --precise 0.7.2
Advisory
Also known as: CVE-2021-45697, GHSA-6p3c-v8vc-c244, RUSTSEC-2021-0103
Partial read is incorrect in molecule
Impact
Anyone who uses total_size(..) function to partial read the length of any FixVec will get an incorrect result, due to an incorrect implementation. This has been resolved in the 0.7.2 release.
Workarounds
If you already have the whole FixVec A, you can use A.as_slice().len() to get the total size of the FixVec.
For more information
If you have any questions or comments about this advisory:
Medium Basis: The source's own band: MODERATE
0, fixed 0.7.2 (semver)0.7.2
0.7.2cargo update -p molecule --precise 0.7.2Fix 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