GHSA-45w7-7g63-2m5wCriticalCVSS 9.8

Drop of uninitialized memory in stack_dst

Published
September 1, 2021
Last Modified
June 13, 2023

🔗 CVE IDs covered (1)

📋 Description

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.

🎯 Affected products1

  • rust/stack_dst:< 0.6.1

🔗 References (5)