{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-45697","id":"CVE-2021-45697","title":"The `total_size` function for partial read the length of any `FixVec` is incorrect in molecule.","description":"An issue was discovered in the molecule crate before 0.7.2 for Rust. A FixVec partial read has an incorrect result.","descriptionLong":"An issue was discovered in the molecule crate before 0.7.2 for Rust. A FixVec partial read has an incorrect result.","published":"2021-12-26T21:49:49.000Z","updated":"2026-10-24T10:30:21.562914350Z","reserved":"2021-12-26T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"molecule","purl":"pkg:cargo/molecule","ranges":["<0.7.2",">=0.0.0-0 <0.7.2"],"fixed":["0.7.2"],"advisory":"GHSA-6p3c-v8vc-c244"}],"cwes":[],"aliases":["GHSA-6p3c-v8vc-c244","GHSA-82hm-vh7g-hrh9","RUSTSEC-2021-0103"],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0103.html","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/molecule/RUSTSEC-2021-0103.md","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/nervosnetwork/molecule/security/advisories/GHSA-82hm-vh7g-hrh9","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45697","tags":["advisory"]},{"url":"https://github.com/nervosnetwork/molecule/pull/49","tags":["web"]},{"url":"https://github.com/nervosnetwork/molecule","tags":["package"]},{"url":"https://crates.io/crates/molecule","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.01361,"epssPercentile":0.72312,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-45697","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45697","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-45697","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6p3c-v8vc-c244","ok":true,"note":"GHSA-6p3c-v8vc-c244"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-82hm-vh7g-hrh9","ok":true,"note":"GHSA-82hm-vh7g-hrh9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-45697","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}