GitHub Advisoryadvisory · crates.io
GHSA-w4cc-pc2h-whcj Out-of-bounds Write in derive-com-impl
HIGH
Official page ↗
- Aliases
- CVE-2021-45681
- Ecosystem
- crates.io
- Packages
- derive-com-impl
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-787
- Reviewed
- 2022-01-06
Affected packages
• crates.io derive-com-impl: < 0.1.2 (no fix yet)
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.
Related
Alias · CVE (1)
- CVE-2021-45681 An issue was discovered in the derive-com-impl crate before 0.1.2 for Rust. vulnerability
Weakness · CWE (1)
- CWE-787 Out-of-bounds Write weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-45681 advisory
- https://github.com/Connicpu/com-impl/issues/1 web
- https://github.com/connicpu/com-impl package
- https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/derive-com-impl/RUSTSEC-2021-0083.md web
- https://rustsec.org/advisories/RUSTSEC-2021-0083.html web