GHSA-45w7-7g63-2m5w
Dashboard / Vulnerabilities / GHSA-45w7-7g63-2m5w
GHSA-45w7-7g63-2m5w
Summary: Drop of uninitialized memory in stack_dst
Details: Affected versions of stack_dst used a push_inner function that increased the internal length of the array and then called val.clone(). If the val.clone() call panics, the stack could drop an already dropped element or drop uninitialized memory. This issue was fixed in `2a4d538` by increasing the length of the array after elements are cloned.
References: https://nvd.nist.gov/vuln/detail/CVE-2021-28035, https://github.com/thepowersgang/stack_dst-rs/issues/5, https://github.com/thepowersgang/stack_dst-rs/commit/2a4d538, https://github.com/thepowersgang/stack_dst-rs, https://rustsec.org/advisories/RUSTSEC-2021-0033.html
Affected packages
Package
Name: stack_dst
Purl: pkg:cargo/stack_dst
Affected ranges
Type: SEMVER
Events:
