high7.5
CVE-2021-45681
Out-of-bounds Write in derive-com-impl
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | derive-com-impl | < 0.1.2 | none recorded |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Derive-Com-Impl Project | Derive-Com-Impl | before 0.1.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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://github.com/advisories/GHSA-w4cc-pc2h-whcj
- https://nvd.nist.gov/vuln/detail/CVE-2021-45681
- https://github.com/Connicpu/com-impl/issues/1