{"id":"RUSTSEC-2021-0103","revision":"6e5b89be18cc48c8a70a5ae61177aa90","records":[{"revision":"6e5b89be18cc48c8a70a5ae61177aa90","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"RUSTSEC-2021-0103","aliases":["CVE-2021-45697","GHSA-6p3c-v8vc-c244","GHSA-82hm-vh7g-hrh9"],"title":" Partial read is incorrect in molecule","description":"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.","state":0,"publishedAt":"2021-07-30T12:00:00+00:00","modifiedAt":"2026-10-12T18:00:03.4643396+00:00","affected":[{"ecosystem":"crates.io","name":"molecule","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.0.0-0"},{"kind":"fixed","version":"0.7.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://crates.io/crates/molecule","https://rustsec.org/advisories/RUSTSEC-2021-0103.html","https://github.com/nervosnetwork/molecule/pull/49"],"sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2021-0103","license":"OSV · upstream source license applies","key":"osv:RUSTSEC-2021-0103","identifiers":["RUSTSEC-2021-0103","CVE-2021-45697","GHSA-6p3c-v8vc-c244","GHSA-82hm-vh7g-hrh9"]},"retained":false,"historicalAffected":[]}],"coverage":[]}