{"id":"GHSA-w4cc-pc2h-whcj","summary":"Out-of-bounds Write in derive-com-impl","details":"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.","aliases":["CVE-2021-45681","GHSA-9rg7-3j4f-cf4x","RUSTSEC-2021-0083"],"modified":"2023-11-08T04:07:21.492435Z","published":"2022-01-06T22:16:10Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2022-01-06T17:46:38Z","nvd_published_at":"2021-12-27T00:15:00Z","cwe_ids":["CWE-787"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-45681"},{"type":"WEB","url":"https://github.com/Connicpu/com-impl/issues/1"},{"type":"PACKAGE","url":"https://github.com/connicpu/com-impl"},{"type":"WEB","url":"https://raw.githubusercontent.com/rustsec/advisory-db/main/crates/derive-com-impl/RUSTSEC-2021-0083.md"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2021-0083.html"}],"affected":[{"package":{"name":"derive-com-impl","ecosystem":"crates.io","purl":"pkg:cargo/derive-com-impl"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"database_specific":{"last_known_affected_version_range":"\u003c 0.1.2","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/01/GHSA-w4cc-pc2h-whcj/GHSA-w4cc-pc2h-whcj.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}