What’s Vulnerable › Vulnerabilities
CVE-2021-45681
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.1% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-12-27 · updated 2026-06-17
- Weakness: CWE-787
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.
Affected products
- Derive-Com-Impl Project Derive-Com-Impl: before 0.1.2 — fixed in 0.1.2
How to fix
Upgrade to a fixed version: Derive-Com-Impl Project Derive-Com-Impl 0.1.2. Check the vendor advisory for mitigations.
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/derive-com-impl/RUSTSEC-2021-0083.md
- https://rustsec.org/advisories/RUSTSEC-2021-0083.html
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/derive-com-impl/RUSTSEC-2021-0083.md
- https://rustsec.org/advisories/RUSTSEC-2021-0083.html
Get alerted when CVE-2021-45681 or the next vulnerability affects your stack