Read the docs
TI-2021-22709 Aliases GHSA-82hm-vh7g-hrh9

Partial read is incorrect in molecule

Priority LOW 38Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

### Impact 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. ### Workarounds If you already have the whole `FixVec` `A`, you can use `A.as_slice().len()` to get the total size of the `FixVec`. ### For more information If you have any questions or comments about this advisory: - [Open an issue to ask use directly](https://github.com/nervosnetwork/molecule/issues/new).

Why it matters now

Fix Fixed molecule (crates.io): 0.7.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—molecule (crates.io)before 0.7.20.7.2Patch availableGHSA-82hm-vh7g-hrh9
  • molecule (crates.io) Vendor— Affected before 0.7.2 Fixed in 0.7.2 Patch available GHSA-82hm-vh7g-hrh9

Remediation

  • Fix · GHSA-82hm-vh7g-hrh9 molecule (crates.io) Fixed in 0.7.2 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-82hm-vh7g-hrh9

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences