GHSA-82hm-vh7g-hrh9

Suggest an improvement
Source
https://github.com/advisories/GHSA-82hm-vh7g-hrh9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-82hm-vh7g-hrh9/GHSA-82hm-vh7g-hrh9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-82hm-vh7g-hrh9
Aliases
Published
2021-08-25T21:01:25Z
Modified
2023-11-08T04:07:22.503158Z
Summary
Partial read is incorrect in molecule
Details

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:

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-08-02T18:10:49Z"
}
References

Affected packages

crates.io / molecule

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.7.2