Affected versions of stackdst used a pushinner 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.
{ "nvd_published_at": "2021-03-05T09:15:00Z", "cwe_ids": [ "CWE-908" ], "severity": "CRITICAL", "github_reviewed": true, "github_reviewed_at": "2021-08-30T21:56:02Z" }