CVE-2021-29929
HIGH 7.5CVSS 3.1Double free in endian_trait
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.
- Published
- 1 Apr 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-415
- Also known as
- GHSA-vpw8-43wm-rxw5RUSTSEC-2021-0039
- Sources
- NVDJSONOSV GHSA-vpw8-43wm-rxw5JSONOSV RUSTSEC-2021-0039JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | RustSec | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | endian_trait_project | endian_traitcpe:2.3:a:endian_trait_project:endian_trait:*:*:*:*:*:rust:*:* |
<= 2021-01-04 | |
| OSV | crates.io | endian_trait | <= 0.6.0 | |
| OSV | crates.io | endian_trait | >= 0.0.0-0 |
References
- https://rustsec.org/advisories/RUSTSEC-2021-0039.html · Exploit, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-29929 · ADVISORY
- https://gitlab.com/myrrlyn/endian_trait · PACKAGE
- https://gitlab.com/myrrlyn/endian_trait/-/issues/1 · WEB, REPORT
- https://crates.io/crates/endian_trait · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 1 Apr 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Jan 2021)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)