nervosnetwork/molecule · Security

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

GHSA ID
GHSA-6p3c-v8vc-c244
CVE ID
CVE-2021-45697
Severity
critical
Published
Updated
CVSS
9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v3
9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

References