GHSA-82hm-vh7g-hrh9

    Dashboard / Vulnerabilities / GHSA-82hm-vh7g-hrh9

    GHSA-82hm-vh7g-hrh9

    Published: 25 Aug 2021Last Modified: 8 Nov 2023

    Summary: Partial read is incorrect in molecule

    Details: ### 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).

    Affected packages

    Package

    Name: molecule

    Purl: pkg:cargo/molecule

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -0.7.2

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-82hm-vh7g-hrh9 | CVE-DB