CVE-2021-45697 json
The `total_size` function for partial read the length of any `FixVec` is incorrect in molecule.
published 2021-07-30 5 y ago modified 2026-10-12 27 d ago also GHSA-6p3c-v8vc-c244 , GHSA-82hm-vh7g-hrh9 , RUSTSEC-2021-0103 , EUVD-2022-0483
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 71%
- public exploits
- 0
- none known
Summary
An issue was discovered in the molecule crate before 0.7.2 for Rust. A FixVec partial read has an incorrect result.
Patch / fix
Exploit prediction
1.36% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | molecule | <0.7.2 >=0.0.0-0, <0.7.2 |
0.7.2 |
References
-
github.com
/nervosnetwork/molecule/pull/49
web
-
rustsec.org
/advisories/RUSTSEC-2021-0103.html
web, third-party-advisory, advisory
-
raw.githubusercontent.com
/rustsec/advisory-db/main/crates/molecule/RUSTSEC-2021-0103.md
web, third-party-advisory
-
github.com
/nervosnetwork/molecule/security/advisories/GHSA-82hm-vh7g-hrh9
web
-
nvd.nist.gov
/vuln/detail/CVE-2021-45697
advisory
-
github.com
/nervosnetwork/molecule
package
-
crates.io
/crates/molecule
package
Sources
- CVE List CVE-2021-45697
- GitHub Advisory GHSA-6p3c-v8vc-c244
- GitHub Advisory GHSA-82hm-vh7g-hrh9
- NVD CVE-2021-45697
- OSV RUSTSEC-2021-0103
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.