{"id":"RUSTSEC-2020-0032","summary":"StrcCtx deallocates a memory region that it doesn't own","details":"`StrcCtx` deallocate a memory region that it doesn't own when `StrcCtx` is created without using `StrcCtx::new`.\nThis can introduce memory safety issues such as double-free and use-after-free to client programs.","aliases":["CVE-2020-35885","GHSA-qc4m-gc8r-mg8m"],"modified":"2023-11-08T04:03:37.500601Z","published":"2020-08-20T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/alpm-rs"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2020-0032.html"},{"type":"REPORT","url":"https://github.com/pigeonhands/rust-arch/issues/2"}],"affected":[{"package":{"name":"alpm-rs","ecosystem":"crates.io","purl":"pkg:cargo/alpm-rs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}],"ecosystem_specific":{"affects":{"arch":[],"os":[],"functions":[]},"affected_functions":null},"database_specific":{"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2020-0032.json","informational":"unsound","cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","categories":[]}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}