{"id":"CVE-2021-29930","aliases":["EUVD-2021-1522","GHSA-327x-39hh-65wf","GHSA-955p-rc5h-hg6h","RUSTSEC-2021-0040"],"status":"published","title":"Out of bounds write in arenavec","description":"An issue was discovered in the arenavec crate through 2021-01-12 for Rust. A drop of uninitialized memory can sometimes occur upon a panic in T::default().","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.01175,"percentile":0.67824,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-415","CWE-787"],"published":"2021-01-12T12:00:00Z","modified":"2026-06-17T03:48:27Z","affected":[{"source":"ghsa","ecosystem":"crates.io","package":"arenavec","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.1.1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"arenavec","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"crates.io","package":"arenavec","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.1.1"}]}],"bundled":2},{"source":"osv","ecosystem":"crates.io","package":"arenavec","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"}]}],"bundled":2}],"products":[{"vendor":"arenavec_project","product":"arenavec"}],"references":[{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0040.html","tags":["x_refsource_MISC","x_transferred","Exploit","Vendor Advisory","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29930","tags":["advisory"]},{"url":"https://github.com/ibabushkin/arenavec/issues/1","tags":["web","report"]},{"url":"https://github.com/advisories/GHSA-327x-39hh-65wf"},{"url":"https://github.com/ibabushkin/arenavec","tags":["package"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29931","tags":["advisory"]},{"url":"https://crates.io/crates/arenavec","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2021-29930","description":"An issue was discovered in the arenavec crate through 2021-01-12 for Rust. A drop of uninitialized memory can sometimes occur upon a panic in T::default().","status":"published","published":"2021-04-01T04:25:01Z","modified":"2024-08-03T22:18:03.456Z","updated_at":"2026-11-02T14:33:06.32268Z"}],"euvd":[{"id":"EUVD-2021-1522","description":"An issue was discovered in the arenavec crate through 2021-01-12 for Rust. A drop of uninitialized memory can sometimes occur upon a panic in T::default().","status":"published","published":"2021-04-01T04:25:01Z","modified":"2024-08-03T22:18:03Z","updated_at":"2026-11-03T03:24:43.965438Z"}],"ghsa":[{"id":"GHSA-327x-39hh-65wf","title":"Out of bounds write in arenavec","description":"An issue was discovered in the arenavec crate through 0.1.1. A drop of uninitialized memory can sometimes occur upon a panic in T::default()","status":"published","published":"2021-08-25T20:55:09Z","modified":"2023-06-13T16:45:06Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:36:53.103029Z"}],"nvd":[{"id":"CVE-2021-29930","description":"An issue was discovered in the arenavec crate through 2021-01-12 for Rust. A drop of uninitialized memory can sometimes occur upon a panic in T::default().","status":"published","published":"2021-04-01T05:15:14.267Z","modified":"2026-06-17T03:48:27.567Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:06:51.197859Z"}],"osv":[{"id":"GHSA-327x-39hh-65wf","title":"Out of bounds write in arenavec","description":"An issue was discovered in the arenavec crate through 0.1.1. A drop of uninitialized memory can sometimes occur upon a panic in T::default()","status":"published","published":"2021-08-25T20:55:09Z","modified":"2023-11-08T04:05:43.636978Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T15:46:35.050232Z"},{"id":"GHSA-955p-rc5h-hg6h","title":"Double free in arenavec","description":"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::\u003cT, H\u003e::new(). Panic within T::drop() leads to double drop of T, when it is invoked either from common::SliceVec::\u003cT, H\u003e::resize_with() or common::SliceVec::\u003cT, H\u003e::resize()\n\nEither case causes memory corruption in the heap memory.","status":"published","published":"2021-08-25T20:55:04Z","modified":"2023-11-08T04:05:43.636978Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-415"],"updated_at":"2026-11-02T15:46:43.123867Z"},{"id":"RUSTSEC-2021-0040","title":"panic safety: double drop or uninitialized drop of T upon panic","description":"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::\u003cT, H\u003e::new()`.\nPanic within `T::drop()` leads to double drop of `T`, when it is invoked either from `common::SliceVec::\u003cT, H\u003e::resize_with()` or `common::SliceVec::\u003cT, H\u003e::resize()`\n\nEither case causes memory corruption in the heap memory.","status":"published","published":"2021-01-12T12:00:00Z","modified":"2023-11-08T04:05:43.636978Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
