Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsA fix was pushed into the master
branch but not yet published.
Affected versions of this package are vulnerable to Free of Memory not on the Heap. maligned::align_first
manually allocates with an alignment larger than T, and then uses Vec::from_raw_parts
on that allocation to get a Vec<T>
. GlobalAlloc::dealloc
requires that the layout
argument must be the same layout that was used to allocate that block of memory. When deallocating, Box
and Vec
may not respect the specified alignment.