CVEvulnerability
CVE-2021-45681
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2021-12-27
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:N/A:P
- Weaknesses
- 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 configurations
• derive-com-impl project derive-com-impl (< 0.1.2)
Related
Weakness · CWE (1)
- CWE-787 Out-of-bounds Write weakness
References
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/derive-com-impl/RUSTSEC-2021-0083.md Third Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0083.html Third Party Advisory
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/derive-com-impl/RUSTSEC-2021-0083.md Third Party Advisory
- https://rustsec.org/advisories/RUSTSEC-2021-0083.html Third Party Advisory