connicpu/com-impl · Security
Out-of-bounds Write in derive-com-impl
- GHSA ID
- GHSA-w4cc-pc2h-whcj
- CVE ID
- CVE-2021-45681
- Severity
- high
- Published
- Updated
- CVSS
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS v3
- 7.5 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
CWEs
- CWE-787 · Out-of-bounds Write
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-45681 ↗
- 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/Connicpu/com-impl/issues/1 ↗
- https://github.com/advisories/GHSA-w4cc-pc2h-whcj ↗