Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. molecule
  4. ›
  5. GHSA-82hm-vh7g-hrh9

GHSA-82hm-vh7g-hrh9: Partial read is incorrect in molecule

August 25, 2021 (updated September 9, 2021)

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

  • github.com/advisories/GHSA-82hm-vh7g-hrh9
  • github.com/nervosnetwork/molecule
  • github.com/nervosnetwork/molecule/pull/49
  • github.com/nervosnetwork/molecule/security/advisories/GHSA-82hm-vh7g-hrh9
  • rustsec.org/advisories/RUSTSEC-2021-0103.html

Code Behaviors & Features

Detect and mitigate GHSA-82hm-vh7g-hrh9 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.7.2

Fixed versions

  • 0.7.2

Solution

Upgrade to version 0.7.2 or above.

Source file

cargo/molecule/GHSA-82hm-vh7g-hrh9.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:16 +0000.