{"schema_version":"1.9.0","id":"RUSTSEC-2021-0103","published":"2021-07-30T12:00:00Z","modified":"2026-10-12T18:00:03.464339634Z","aliases":["CVE-2021-45697","GHSA-6p3c-v8vc-c244","GHSA-82hm-vh7g-hrh9"],"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.","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":{"arch":[],"functions":[],"os":[]}},"database_specific":{"categories":[],"cvss":null,"informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0103.json"}}],"references":[{"type":"PACKAGE","url":"https://crates.io/crates/molecule"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2021-0103.html"},{"type":"WEB","url":"https://github.com/nervosnetwork/molecule/pull/49"}],"database_specific":{"license":"CC0-1.0"}}