Skip to content

fix: update Cargo.lock to fix cargo audit vulnerabilities#1190

Merged
lym953 merged 1 commit intomainfrom
yiming.luo/fix-cargo-audit
Apr 23, 2026
Merged

fix: update Cargo.lock to fix cargo audit vulnerabilities#1190
lym953 merged 1 commit intomainfrom
yiming.luo/fix-cargo-audit

Conversation

@lym953
Copy link
Copy Markdown
Contributor

@lym953 lym953 commented Apr 17, 2026

Summary

  • Update rustls-webpki 0.103.10 → 0.103.12 (fixes RUSTSEC-2026-0098 and RUSTSEC-2026-0099: name constraint bypass vulnerabilities in TLS certificate validation)
  • Update rand 0.8.5 → 0.8.6 and 0.9.2 → 0.9.4 (fixes RUSTSEC-2026-0097: unsound aliased mutable reference when using custom loggers)

These were causing the cargo audit CI job to fail.

Only Cargo.lock is updated (no Cargo.toml changes needed — these are transitive dependency version bumps).

- rustls-webpki 0.103.10 -> 0.103.12 (RUSTSEC-2026-0098, RUSTSEC-2026-0099)
- rand 0.8.5 -> 0.8.6, 0.9.2 -> 0.9.4 (RUSTSEC-2026-0097)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@lym953 lym953 marked this pull request as ready for review April 17, 2026 15:36
@lym953 lym953 requested a review from a team as a code owner April 17, 2026 15:36
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request.

Comment thread bottlecap/Cargo.lock
"cexpr",
"clang-sys",
"itertools 0.13.0",
"itertools 0.11.0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is downgraded?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a consequence of running cargo update rustls-webpki

From Claude:

The chain is:
rustls-webpki → aws-lc-rs → aws-lc-fips-sys → bindgen → itertools
When cargo updates rustls-webpki, it re-resolves this entire chain. Bindgen's constraint is
=0.10,<0.14, and itertools 0.11.0 is already in the graph (for lalrpop). So cargo consolidates — using
the already-present 0.11.0 rather than keeping a separate 0.13.0 copy. It's the resolver deduplicating
as a side effect of re-solving the chain.
The change is valid: bindgen 0.72.1 explicitly declares itertools = ">=0.10,<0.14", so 0.11.0 is within
its stated range.

Copy link
Copy Markdown
Contributor

@litianningdatadog litianningdatadog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a comment.

@lym953 lym953 merged commit 977cfda into main Apr 23, 2026
52 checks passed
@lym953 lym953 deleted the yiming.luo/fix-cargo-audit branch April 23, 2026 16:42
lym953 added a commit that referenced this pull request Apr 23, 2026
## Summary

- Bumps `rustls-webpki` from `0.103.12` to `0.103.13` in `Cargo.lock`
- Fixes RUSTSEC-2026-0104: reachable panic in certificate revocation
list parsing
- Advisory published 2026-04-22; the previous cargo audit fix PR (#1190)
predated it

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

3 participants