chore(deps): update rust crate anyhow to v1.0.103 [security]#321
chore(deps): update rust crate anyhow to v1.0.103 [security]#321renovate[bot] wants to merge 1 commit into
Conversation
|
|
|
|
👋 This PR targeted
|
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
This PR contains the following updates:
1.0.86→1.0.1031.0.97→1.0.1031.0.102→1.0.1031.0.98→1.0.103Unsoundness in
Error::downcast_mut()RUSTSEC-2026-0190
More information
Details
Affected versions of this crate violate borrow rules, resulting in undefined behavior, when the user adds context to an error via
Error::contextand then later callsError::downcast_muton the returnedError.The flaw was corrected in commit
6e8c000by revising how the mutable reference is constructed, avoiding inclusion of a shared reference in the resulting borrow chain.Example
Miri output
Severity
Unknown
References
This data is provided by OSV and the Rust Advisory Database (CC0 1.0).
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.