Skip to content

security: bump anyhow to 1.0.103 (RUSTSEC-2026-0190) - #158

Merged
hellno merged 1 commit into
mainfrom
hellno/anyhow-rustsec-2026-0190
Jun 29, 2026
Merged

security: bump anyhow to 1.0.103 (RUSTSEC-2026-0190)#158
hellno merged 1 commit into
mainfrom
hellno/anyhow-rustsec-2026-0190

Conversation

@hellno

@hellno hellno commented Jun 29, 2026

Copy link
Copy Markdown
Owner

What

Lockfile-only patch bump: anyhow 1.0.102 -> 1.0.103.

Why

anyhow 1.0.102 has an unsoundness — RUSTSEC-2026-0190: Error::downcast_mut() violates borrow rules (UB) when called on an error that had context added via .context(). Fixed in 1.0.103.

This is failing the required cargo-deny-advisories check on every open PR and on main, so nothing can merge until it lands. Surfaced the moment build/test/clippy + advisories became enforced (#123).

Verification

  • cargo update -p anyhow → 1.0.103 (no API change; patch within 1.0.x)
  • cargo deny check advisoriesadvisories ok (exit 0)
  • No Cargo.toml change; Cargo.lock only.

anyhow 1.0.102 has an unsoundness in Error::downcast_mut() (borrow-rule
violation -> UB when downcast_mut is called on an error that had context
added). RUSTSEC-2026-0190; fixed in 1.0.103. Lockfile-only patch bump;
clears the required cargo-deny-advisories gate (verified: 'advisories ok').
@hellno
hellno merged commit 82ecc25 into main Jun 29, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant