1 line
1.6 KiB
JSON
1 line
1.6 KiB
JSON
{"schema_version":"1.7.3","id":"RUSTSEC-2021-0040","published":"2021-01-12T12:00:00Z","modified":"2023-11-08T04:05:43.636978Z","aliases":["CVE-2021-29930","CVE-2021-29931","GHSA-327x-39hh-65wf","GHSA-955p-rc5h-hg6h"],"summary":"panic safety: double drop or uninitialized drop of T upon panic","details":"Affected versions of this crate did not guard against potential panics that may happen from user-provided functions `T::default()` and `T::drop()`.\n\nPanic within `T::default()` leads to dropping uninitialized `T`, when it is invoked from `common::Slice::<T, H>::new()`.\nPanic within `T::drop()` leads to double drop of `T`, when it is invoked either from `common::SliceVec::<T, H>::resize_with()` or `common::SliceVec::<T, H>::resize()`\n\nEither case causes memory corruption in the heap memory.","affected":[{"package":{"name":"arenavec","ecosystem":"crates.io","purl":"pkg:cargo/arenavec"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}],"ecosystem_specific":{"affected_functions":null,"affects":{"arch":[],"functions":[],"os":[]}},"database_specific":{"categories":["memory-corruption"],"cvss":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","informational":null,"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0040.json"}}],"references":[{"type":"PACKAGE","url":"https://crates.io/crates/arenavec"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2021-0040.html"},{"type":"REPORT","url":"https://github.com/ibabushkin/arenavec/issues/1"}],"database_specific":{"license":"CC0-1.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"}]} |