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

CVE-2021-29929: Double free in endian_trait

August 25, 2021

An issue was discovered in the endian_trait crate through 2021-01-04 for Rust. A double drop can occur when a user-provided Endian impl panics.

References

  • github.com/advisories/GHSA-vpw8-43wm-rxw5
  • gitlab.com/myrrlyn/endian_trait
  • gitlab.com/myrrlyn/endian_trait/-/issues/1
  • nvd.nist.gov/vuln/detail/CVE-2021-29929
  • rustsec.org/advisories/RUSTSEC-2021-0039.html

Code Behaviors & Features

Detect and mitigate CVE-2021-29929 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 up to 0.6.0

Solution

Unfortunately, there is no solution available yet.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-415: Double Free

Source file

cargo/endian_trait/CVE-2021-29929.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:10 +0000.