Advisory Database
  • Advisories
  • Dependency Scanning
  1. cargo
  2. ›
  3. zeroize_derive
  4. ›
  5. CVE-2021-45706

CVE-2021-45706: Memory flaw in zeroize_derive

January 6, 2022 (updated January 7, 2022)

An issue was discovered in the zeroize_derive crate before 1.1.1 for Rust. Dropped memory is not zeroed out for an enum.

References

  • github.com/RustCrypto/utils/tree/master/zeroize/derive
  • github.com/advisories/GHSA-c5hx-w945-j4pq
  • github.com/iqlusioninc/crates/issues/876
  • nvd.nist.gov/vuln/detail/CVE-2021-45706
  • raw.githubusercontent.com/rustsec/advisory-db/main/crates/zeroize_derive/RUSTSEC-2021-0115.md
  • rustsec.org/advisories/RUSTSEC-2021-0115.html

Code Behaviors & Features

Detect and mitigate CVE-2021-45706 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 1.1.1

Fixed versions

  • 1.1.1

Solution

Upgrade to version 1.1.1 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-459: Incomplete Cleanup

Source file

cargo/zeroize_derive/CVE-2021-45706.yml

Spotted a mistake? Edit the file on GitLab.

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

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