GitHub Advisoryadvisory · crates.io
GHSA-6p3c-v8vc-c244 The `total_size` function for partial read the length of any `FixVec` is incorrect in molecule.
CRITICAL
Official page ↗
- Aliases
- CVE-2021-45697
- Ecosystem
- crates.io
- Packages
- molecule
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Reviewed
- 2022-01-06
Affected packages
• crates.io molecule: < 0.7.2 → fixed in 0.7.2
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.
Related
Alias · CVE (1)
- CVE-2021-45697 An issue was discovered in the molecule crate before 0.7.2 for Rust. vulnerability
References
- https://github.com/nervosnetwork/molecule/security/advisories/GHSA-82hm-vh7g-hrh9 web
- https://nvd.nist.gov/vuln/detail/CVE-2021-45697 advisory
- https://github.com/nervosnetwork/molecule/pull/49 web
- https://github.com/nervosnetwork/molecule package
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/molecule/RUSTSEC-2021-0103.md web
- https://rustsec.org/advisories/RUSTSEC-2021-0103.html web