CVE-2021-29929 json
Double free in endian_trait
published 2021-01-04 5 y ago modified 2026-06-17 4 mo ago also GHSA-vpw8-43wm-rxw5 , RUSTSEC-2021-0039 , EUVD-2021-1900
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 67%
- public exploits
- 0
- none known
Summary
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.
Exploit prediction
1.18% chance of exploitation in the next 30 days, higher than 67% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- rustsec.org https://rustsec.org/advisories/RUSTSEC-2021-0039.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | endian_trait | <=0.6.0 >=0.0.0-0 |
no fix listed |
Classification
- Weakness
-
- CWE-415 Double Free
References
-
rustsec.org
/advisories/RUSTSEC-2021-0039.html
web, exploit, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-29929
advisory
-
gitlab.com
/myrrlyn/endian_trait
package
-
gitlab.com
/myrrlyn/endian_trait/-/issues/1
web, report
-
crates.io
/crates/endian_trait
package
Sources
- CVE List CVE-2021-29929
- GitHub Advisory GHSA-vpw8-43wm-rxw5
- NVD CVE-2021-29929
- OSV RUSTSEC-2021-0039
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.