Skip to content

Drop hickory advisory ignores once libp2p-dns ships hickory 0.26 #76

Description

@beardthelion

Tracking issue for the cargo audit suppressions added in #57.

.cargo/audit.toml ignores two reachable advisories in hickory-proto 0.25.2:

  • RUSTSEC-2026-0118 — NSEC3 closest-encloser unbounded loop
  • RUSTSEC-2026-0119 — O(n^2) name-compression CPU exhaustion

These are reachable: the node wraps its QUIC transport in the system DNS resolver (crates/gitlawb-node/src/p2p/mod.rs:238), so a malicious DNS response can hit these DoS paths. They are suppressed only because there is no available fix — hickory-proto >=0.26.1 is required, and the latest libp2p-dns on crates.io (0.44) still pins hickory 0.25.

Action: when a libp2p-dns (or libp2p major) release using hickory >=0.26.1 is available, bump it, then remove both RUSTSEC-2026-0118 and RUSTSEC-2026-0119 from .cargo/audit.toml.

Enforcement: the scheduled audit workflow (.github/workflows/audit-schedule.yml) re-runs cargo audit without the ignores weekly and hard-fails if hickory-proto moves off 0.25.x while the ignores remain, so this will not silently outlive the fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:ciCI, release, or packaging pipelinesev:lowCosmetic, cleanup, or nice-to-havesubsystem:peersPeer announce, discovery, and registry

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions