stack_dst
Affected
- introduced
0.0.0-0, fixed0.6.1(semver)
Fixed versions
0.6.1
Fix
- Fixed version
0.6.1cargo update -p stack_dst --precise 0.6.1
Advisory
Also known as: CVE-2021-28034, CVE-2021-28035, GHSA-45w7-7g63-2m5w, GHSA-8mjx-h23h-w2pg
push_cloned can drop uninitialized memory or double free on panic
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.
Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
0.0.0-0, fixed 0.6.1 (semver)0.6.1
0.6.1cargo update -p stack_dst --precise 0.6.1Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: RustSec Advisory Database · CC0-1.0