Skip to content

fix(deps): RUSTSEC-2026-0441 turns every PR red, and it is not in any diff - #489

Merged
athvin merged 2 commits into
mainfrom
bm/deps-pin-utils-unmaintained
Nov 5, 2026
Merged

athvin merged 2 commits into
mainfrom
bm/deps-pin-utils-unmaintained

Conversation

@athvin

@athvin athvin commented Nov 5, 2026

Copy link
Copy Markdown
Owner

What

pin-utils was published as unmaintained (RUSTSEC-2026-0441), which fails
cargo-deny (advisories + licenses + bans) on every open PR regardless of
content
. It surfaced on a pure-frontend branch that touches no Rust at all.

This is the time-dependent class of gate: it compares the tree against an
advisory database that moves on its own, so a run green yesterday fails today
with no commit in between. Reading the diff tells you nothing; the job log is
the only place the cause appears.

Why an exception rather than a fix

pin-utils arrives via aws-smithy-http, so it comes with every AWS SDK crate
here — aws-config, aws-sdk-s3, aws-sdk-sesv2, aws-sdk-sts.

It is an unmaintained notice, not a vulnerability. The crate is a
pre-1.0-era helper for pin projection that the language subsumed:
core::pin::pin! has been stable since 1.68, which is why it is finished
rather than abandoned. Nothing in it parses input or touches the network.

The two alternatives are both worse than an exception:

  • Fix it here — not possible; it belongs upstream in smithy-rs.
  • Pin the AWS crates back to a release predating the dependency — trades an
    unmaintained-notice for real missed security updates in the code that
    actually handles our credentials.

Verification

cargo deny --all-features check advisories → advisories ok.

Checked that the exception is live, not dead: cargo-deny reports
advisory was not encountered for an exception that no longer matches, and it
does not here. That is the distinction deny.toml already warns about at
length, having carried four dead zip entries that silently switched
yanked = "deny" off for that crate for good.

🤖 Generated with Claude Code

bmoore813 and others added 2 commits November 5, 2026 06:01
… diff

`pin-utils` was published as unmaintained, which fails
`cargo-deny (advisories + licenses + bans)` on every open PR regardless of
content — it first showed up on a pure-frontend branch that touches no Rust
at all. This is the time-dependent class of gate: it compares the tree
against an advisory database that moves on its own, so a run that was green
yesterday fails today with no commit in between.

`pin-utils` arrives via `aws-smithy-http`, so it comes with every AWS SDK
crate here (aws-config, s3, sesv2, sts). It is an unmaintained *notice*, not
a vulnerability: the crate is a pre-1.0-era helper for pin projection that
the language subsumed — `core::pin::pin!` has been stable since 1.68 — so it
is finished rather than abandoned, and nothing in it parses input or touches
the network.

Added as an `ignore` with that reasoning rather than worked around, because
the two alternatives are both worse. The fix belongs upstream in smithy-rs;
pinning our AWS crates back to a release predating the dependency would
trade an unmaintained-notice for real missed security updates in the code
that actually handles credentials.

Verified the exception is LIVE, not dead — cargo-deny reports
"advisory was not encountered" for an exception that no longer matches, and
it does not here. That distinction is the one this file already warns about
at length, having carried four dead `zip` entries that silently switched
`yanked = "deny"` off for that crate.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
`required-checks.md` embeds deny.toml's ignore list, so adding one is a
two-file change by design — the reference cannot drift from what is enforced.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@athvin
athvin merged commit 2d2a0fc into main Nov 5, 2026
37 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.

2 participants