{"id":"GHSA-6p3c-v8vc-c244","summary":"The `total_size` function for partial read the length of any `FixVec` 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-82hm-vh7g-hrh9","RUSTSEC-2021-0103"],"modified":"2023-11-01T04:56:54.586535Z","published":"2022-01-06T22:10:34Z","database_specific":{"nvd_published_at":"2021-12-27T00:15:00Z","cwe_ids":[],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2022-01-06T14:29:54Z"},"references":[{"type":"WEB","url":"https://github.com/nervosnetwork/molecule/security/advisories/GHSA-82hm-vh7g-hrh9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45697"},{"type":"WEB","url":"https://github.com/nervosnetwork/molecule/pull/49"},{"type":"PACKAGE","url":"https://github.com/nervosnetwork/molecule"},{"type":"WEB","url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/molecule/RUSTSEC-2021-0103.md"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2021-0103.html"}],"affected":[{"package":{"name":"molecule","ecosystem":"crates.io","purl":"pkg:cargo/molecule"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.7.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-6p3c-v8vc-c244/GHSA-6p3c-v8vc-c244.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}