{"id":"GHSA-6p3c-v8vc-c244","revision":"67e843d755774cf2843d78903af0eea3","records":[{"revision":"67e843d755774cf2843d78903af0eea3","observedAt":"2026-10-24T13:19:54.901+00:00","statement":{"source":"osv","id":"GHSA-6p3c-v8vc-c244","aliases":["CVE-2021-45697","GHSA-82hm-vh7g-hrh9","RUSTSEC-2021-0103"],"title":"The `total_size` function for partial read the length of any `FixVec` 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":"2022-01-06T22:10:34+00:00","modifiedAt":"2023-11-08T04:07:22.503158+00:00","affected":[{"ecosystem":"crates.io","name":"molecule","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.7.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/nervosnetwork/molecule/security/advisories/GHSA-82hm-vh7g-hrh9","https://nvd.nist.gov/vuln/detail/CVE-2021-45697","https://github.com/nervosnetwork/molecule/pull/49","https://github.com/nervosnetwork/molecule","https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/molecule/RUSTSEC-2021-0103.md","https://rustsec.org/advisories/RUSTSEC-2021-0103.html"],"sourceUrl":"https://github.com/advisories/GHSA-6p3c-v8vc-c244","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-6p3c-v8vc-c244","identifiers":["GHSA-6p3c-v8vc-c244","CVE-2021-45697","GHSA-82hm-vh7g-hrh9","RUSTSEC-2021-0103"]},"retained":false,"historicalAffected":[]}],"coverage":[]}