The `total_size` function for partial read the length of any `FixVec` is incorrect in moleculeGHSA-6p3c-v8vc-c244
CRITICALFix: nervosnetwork/molecule#49GHSA-6p3c-v8vc-c244 is a critical-severity (CVSS 9.8) vulnerability in molecule. A fix is available for molecule — see the affected versions and patch details below.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
moleculeReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects crates.io packages — download data is not available via public APIs for these ecosystems.
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🦀crates.io | molecule | all versions | 0.7.2cargo update -p molecule --precise 0.7.2 |
Affected Products
moleculenervosDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for molecule, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update molecule to 0.7.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-6p3c-v8vc-c244 is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-6p3c-v8vc-c244 in your dependencies?
Find it across crates.io, including transitive dependencies.