{"id":"RUSTSEC-2021-0103","summary":" Partial read is incorrect in molecule","details":"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.","aliases":["CVE-2021-45697","GHSA-6p3c-v8vc-c244","GHSA-82hm-vh7g-hrh9"],"modified":"2023-11-08T04:07:22.503158Z","published":"2021-07-30T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/molecule"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2021-0103.html"},{"type":"ADVISORY","url":"https://github.com/nervosnetwork/molecule/security/advisories/GHSA-82hm-vh7g-hrh9"}],"affected":[{"package":{"name":"molecule","ecosystem":"crates.io","purl":"pkg:cargo/molecule"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.7.2"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"functions":[],"os":[],"arch":[]}},"database_specific":{"cvss":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0103.json","categories":[],"informational":null}}],"schema_version":"1.7.3"}