GHSA-82hm-vh7g-hrh9 – molecule
Package
Manager: cargo
Name: molecule
Vulnerable Version: >=0 <0.7.2
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: N/A pctlN/A
Details
Partial read is incorrect in molecule ### 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).
Metadata
Created: 2021-08-25T21:01:25Z
Modified: 2021-09-09T17:55:10Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-82hm-vh7g-hrh9/GHSA-82hm-vh7g-hrh9.json
CWE IDs: []
Alternative ID: N/A
Finding: F113
Auto approve: 1