Skip to content
Fencer Intel
critical 9.8

CVE-2021-45697 json

The `total_size` function for partial read the length of any `FixVec` is incorrect in molecule.

published 5y ago modified 28d 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

  • crates.io molecule 0.7.2
  • nervos molecule 0.7.2

Is CVE-2021-45697 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Exploit prediction

1.36% chance of exploitation in the next 30 days, higher than 71% of all scored CVEs (FIRST EPSS, 2026-11-09).

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

Sources

Fencer Intel 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.