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 applicationsUpgrade eyre
to version 0.6.12 or higher.
Affected versions of this package are vulnerable to Type Confusion due to the incorrect handling of types during the downcast
process. Specifically, when a Report
is constructed using wrap_err
or wrap_err_with
to attach a message of one type onto an error of another type, and then downcast
is used to recover ownership of either value, incorrect drop behavior may occur. This can lead to memory corruption if the Report
contains an error with nontrivial drop behavior. Additionally, if the error has trivial drop behavior but the attached message does not, downcasting may result in a memory leak.