High severity7.5NVD Advisory· Published Dec 27, 2021· Updated Jun 17, 2026
CVE-2021-45681
CVE-2021-45681
Description
An issue was discovered in the derive-com-impl crate before 0.1.2 for Rust. An invalid reference (and memory corruption) can occur because AddRef might not be called before returning a pointer.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
derive-com-implcrates.io | >= 0 | — |
Affected products
3- cpe:2.3:a:derive-com-impl_project:derive-com-impl:*:*:*:*:*:rust:*:*Range: <0.1.2
- derive-com-impl/derive-com-impldescription
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-w4cc-pc2h-whcjghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-45681ghsaADVISORY
- raw.githubusercontent.com/rustsec/advisory-db/main/crates/derive-com-impl/RUSTSEC-2021-0083.mdnvdThird Party AdvisoryWEB
- rustsec.org/advisories/RUSTSEC-2021-0083.htmlnvdThird Party AdvisoryWEB
- github.com/Connicpu/com-impl/issues/1ghsaWEB
News mentions
0No linked articles in our index yet.