{"id":"CVE-2021-45697","aliases":["RUSTSEC-2021-0103","GHSA-6p3c-v8vc-c244","GHSA-82hm-vh7g-hrh9"],"title":" Partial read is incorrect in molecule","summary":" Partial read is incorrect in molecule","severity":"none","vendor":"molecule","product":"molecule","ecosystem":"rust","affected":["molecule >= 0.0.0-0, < 0.7.2"],"patched":["molecule 0.7.2"],"published":"2021-07-30","updated":"2026-10-12","sourceUpdated":"2026-10-12T18:00:03.464339634Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/RUSTSEC-2021-0103","references":[{"url":"https://crates.io/crates/molecule"},{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0103.html"},{"url":"https://github.com/nervosnetwork/molecule/pull/49"}],"tags":["osv","rust"],"epss":0.01361,"epssPercentile":0.71608,"ingestedAt":"2026-10-13T11:45:30.151Z","slug":"CVE-2021-45697","body":"## Overview\n\nAnyone 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.\n\n## Affected packages\n\n- `molecule >= 0.0.0-0, < 0.7.2`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `molecule 0.7.2`","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0.3,"exploitation":0,"ransomware":0},"changes":[]}