Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS02cDNjLXY4dmMtYzI0NM0fkg
The `total_size` function for partial read the length of any `FixVec` is incorrect in molecule.
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.
Permalink: https://github.com/advisories/GHSA-6p3c-v8vc-c244JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS02cDNjLXY4dmMtYzI0NM0fkg
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Critical
Classification: General
Published: over 2 years ago
Updated: 11 months ago
CVSS Score: 9.8
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Identifiers: GHSA-6p3c-v8vc-c244, CVE-2021-45697
References:
- https://nvd.nist.gov/vuln/detail/CVE-2021-45697
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/molecule/RUSTSEC-2021-0103.md
- https://rustsec.org/advisories/RUSTSEC-2021-0103.html
- https://github.com/nervosnetwork/molecule/pull/49
- https://github.com/nervosnetwork/molecule/security/advisories/GHSA-82hm-vh7g-hrh9
- https://github.com/advisories/GHSA-6p3c-v8vc-c244
Blast Radius: 20.9
Affected Packages
cargo:molecule
Dependent packages: 15Dependent repositories: 136
Downloads: 421,118 total
Affected Version Ranges: < 0.7.2
Fixed in: 0.7.2
All affected versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.1.0, 0.2.0, 0.2.5, 0.3.0, 0.3.1, 0.4.0, 0.5.0, 0.6.0, 0.6.1, 0.7.0, 0.7.1
All unaffected versions: 0.7.2, 0.7.3, 0.7.4, 0.7.5, 0.8.0