Skip to content

chore: update deny.toml with new rustls-webpki and proc-macro-error2 advisories#94

Merged
yiwang merged 1 commit into
mainfrom
claude/kind-dijkstra-qfk5pw
Jun 14, 2026
Merged

chore: update deny.toml with new rustls-webpki and proc-macro-error2 advisories#94
yiwang merged 1 commit into
mainfrom
claude/kind-dijkstra-qfk5pw

Conversation

@yiwang

@yiwang yiwang commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates deny.toml to acknowledge and document four new security advisories that are either already mitigated by existing constraints or pose no practical risk to the project.

Changes

  • Removed outdated RUSTSEC-2025-0119 (number_prefix) advisory entry
  • Added three new rustls-webpki 0.102.8 advisories:
    • RUSTSEC-2026-0098: URI name-constraint check vulnerability — mitigated by pinning through serenity 0.12 → tokio-tungstenite 0.21 → rustls 0.22; requires CA compromise post-signature verification
    • RUSTSEC-2026-0099: Wildcard name-constraint check vulnerability — same mitigation as above
    • RUSTSEC-2026-0104: Panic parsing certificate revocation lists — unreachable in practice since serenity/Discord does not use CRLs
  • Added RUSTSEC-2026-0173 (proc-macro-error2) advisory:
    • Unmaintained crate with no safe upgrade path
    • Build-time proc-macro only (used by teloxide, avian3d, rust-embed)
    • No runtime or shipped-code impact

Notes

All advisories are documented with their root causes and risk assessments. The rustls-webpki issues are constrained by the serenity 0.12 dependency chain and pose limited practical risk given the additional requirements (CA compromise or CRL parsing). The proc-macro-error2 advisory is acceptable since it only affects build-time code generation.

https://claude.ai/code/session_01EDzpnLCpnGBrW3uVesbGKB

Fixes the cargo-deny advisories check in CI:

- proc-macro-error2 (RUSTSEC-2026-0173): unmaintained with no safe
  upgrade; build-time proc-macro only (teloxide, avian3d, rust-embed),
  no shipped/runtime code.
- rustls-webpki 0.102.8 (RUSTSEC-2026-0098 / -0099 / -0104):
  name-constraint and CRL-parsing issues. Pinned via serenity 0.12 ->
  tokio-tungstenite 0.21 -> rustls 0.22; 0.12.5 is the latest serenity,
  and the fixed rustls-webpki 0.103.x is already used everywhere else.
  Same situation as the existing RUSTSEC-2026-0049 ignore.
- Drop the stale RUSTSEC-2025-0119 ignore: number_prefix is no longer in
  the tree, which is the advisory-not-detected warning cargo-deny emitted.

https://claude.ai/code/session_01EDzpnLCpnGBrW3uVesbGKB
@yiwang yiwang merged commit 03dc0f2 into main Jun 14, 2026
7 checks passed
@yiwang yiwang deleted the claude/kind-dijkstra-qfk5pw branch June 14, 2026 04:23
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