This repository was archived by the owner on Jul 10, 2025. It is now read-only.
fix(deps): update rust crate eyre to v0.6.12 [security] #159
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
=0.6.9->=0.6.12GitHub Vulnerability Alerts
GHSA-4v52-7q2x-v4xj
In affected versions, after a
Reportis constructed usingwrap_errorwrap_err_withto attach a message of typeDonto an error of typeE, then usingdowncastto recover ownership of either the value of typeDor the value of typeE, one of two things can go wrong:If downcasting to
E, there remains a value of typeDto be dropped. It is incorrectly "dropped" by runningE's drop behavior, rather thanD's. For example ifDis&strandEisstd::io::Error, there would be a call ofstd::io::Error::dropin which the reference received by theDropimpl does not refer to a valid value of typestd::io::Error, but instead to&str.If downcasting to
D, there remains a value of typeEto be dropped. WhenDandEdo not happen to be the same size,E's drop behavior is incorrectly executed in the wrong location. The reference received by theDropimpl may point left or right of the realEvalue that is meant to be getting dropped.In both cases, when the
Reportcontains an errorEthat has nontrivial drop behavior, the most likely outcome is memory corruption.When the
Reportcontains an errorEthat has trivial drop behavior (for example aUtf8Error) but whereDhas nontrivial drop behavior (such asString), the most likely outcome is that downcasting toEwould leakD.Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.