This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate iroh-relay

Dependencies

(50 total, 21 outdated, 2 insecure)

CrateRequiredLatestStatus
 anyhow^11.0.104up to date
 bytes^1.71.12.1up to date
 clap^44.6.7up to date
 dashmap^6.1.06.2.1up to date
 data-encoding^2.6.02.11.1up to date
 derive_more^1.0.02.1.1out of date
 governor^0.7.00.10.4out of date
 hickory-proto ⚠️=0.25.0-alpha.50.26.3insecure
 hickory-resolver=0.25.0-alpha.50.26.3out of date
 http^11.5.0up to date
 http-body-util^0.1.00.1.5up to date
 hyper^11.11.1up to date
 hyper-util^0.1.10.1.20up to date
 iroh-base^0.33.01.2.0out of date
 iroh-metrics^0.311.0.1out of date
 lru^0.120.18.5out of date
 n0-future^0.1.20.3.2out of date
 num_enum^0.70.7.6up to date
 pin-project^11.1.13up to date
 pkarr^28.0.2out of date
 postcard^11.1.3up to date
 iroh-quinn^0.13.00.16.1out of date
 iroh-quinn-proto^0.13.00.15.1out of date
 rand^0.80.10.3out of date
 rcgen^0.130.14.10out of date
 regex^1.7.11.13.1up to date
 reloadable-state^0.10.1.0up to date
 reqwest^0.120.13.5out of date
 rustls^0.230.23.45up to date
 rustls-cert-file-reader^0.4.10.4.2up to date
 rustls-cert-reloadable-resolver^0.7.10.7.1up to date
 rustls-pemfile^2.12.2.0up to date
 serde^11.0.229up to date
 strum^0.260.28.0out of date
 stun-rs^0.1.50.1.11up to date
 thiserror^22.0.20up to date
 time^0.3.370.3.55up to date
 tokio^11.53.1up to date
 tokio-rustls^0.260.26.5up to date
 tokio-rustls-acme^0.60.9.1out of date
 tokio-tungstenite^0.240.30.0out of date
 tokio-tungstenite-wasm^0.40.9.0out of date
 tokio-util^0.70.7.19up to date
 toml^0.81.1.6+spec-1.1.0out of date
 tracing^0.10.1.44up to date
 tracing-subscriber^0.30.3.23up to date
 url^2.52.5.8up to date
 rustls-webpki ⚠️^0.1020.103.15insecure
 webpki-roots^0.261.0.9out of date
 z32^1.0.31.3.0up to date

Dev dependencies

(9 total, 1 outdated)

CrateRequiredLatestStatus
 clap^44.6.7up to date
 crypto_box^0.9.10.9.1up to date
 proptest^1.2.01.11.0up to date
 rand_chacha^0.3.10.10.0out of date
 serde_json^11.0.151up to date
 testresult^0.4.00.4.2up to date
 tokio^11.53.1up to date
 tracing-subscriber^0.30.3.23up to date
 tracing-test^0.2.50.2.6up to date

Security Vulnerabilities

rustls-webpki: CRLs not considered authoritative by Distribution Point due to faulty matching logic

RUSTSEC-2026-0049

If a certificate had more than one distributionPoint, then only the first distributionPoint would be considered against each CRL's IssuingDistributionPoint distributionPoint, and then the certificate's subsequent distributionPoints would be ignored.

The impact was that correctly provided CRLs would not be consulted to check revocation. With UnknownStatusPolicy::Deny (the default) this would lead to incorrect but safe Error::UnknownRevocationStatus. With UnknownStatusPolicy::Allow this would lead to inappropriate acceptance of revoked certificates.

This vulnerability is thought to be of limited impact. This is because both the certificate and CRL are signed -- an attacker would need to compromise a trusted issuing authority to trigger this bug. An attacker with such capabilities could likely bypass revocation checking through other more impactful means (such as publishing a valid, empty CRL.)

More likely, this bug would be latent in normal use, and an attacker could leverage faulty revocation checking to continue using a revoked credential.

This vulnerability is identified as GHSA-pwjx-qhcg-rvj4. Thank you to @1seal for the report.

rustls-webpki: Name constraints for URI names were incorrectly accepted

RUSTSEC-2026-0098

Name constraints for URI names were ignored and therefore accepted.

Note this library does not provide an API for asserting URI names, and URI name constraints are otherwise not implemented. URI name constraints are now rejected unconditionally.

Since name constraints are restrictions on otherwise properly-issued certificates, this bug is reachable only after signature verification and requires misissuance to exploit.

This vulnerability is identified as GHSA-965h-392x-2mh5. Thank you to @1seal for the report.

rustls-webpki: Name constraints were accepted for certificates asserting a wildcard name

RUSTSEC-2026-0099

Permitted subtree name constraints for DNS names were accepted for certificates asserting a wildcard name.

This was incorrect because, given a name constraint of accept.example.com, *.example.com could feasibly allow a name of reject.example.com which is outside the constraint. This is very similar to CVE-2025-61727.

Since name constraints are restrictions on otherwise properly-issued certificates, this bug is reachable only after signature verification and requires misissuance to exploit.

This vulnerability is identified as GHSA-xgp8-3hg3-c2mh. Thank you to @1seal for the report.

rustls-webpki: Reachable panic in certificate revocation list parsing

RUSTSEC-2026-0104

A panic was reachable when parsing certificate revocation lists via [BorrowedCertRevocationList::from_der] or [OwnedCertRevocationList::from_der]. This was the result of mishandling a syntactically valid empty BIT STRING appearing in the onlySomeReasons element of a IssuingDistributionPoint CRL extension.

This panic is reachable prior to a CRL's signature being verified.

Applications that do not use CRLs are not affected.

Thank you to @tynus3 for the report.

hickory-proto: NSEC3 closest-encloser proof validation enters unbounded loop on cross-zone responses

RUSTSEC-2026-0118

The NSEC3 closest-encloser proof validation in hickory-proto's DnssecDnsHandle walks from the QNAME up to the SOA owner name, building a list of candidate encloser names. The iterator used assumes the QNAME is a descendant of the SOA owner, terminating only when the current candidate equals the SOA name. When the SOA in a response's authority section is not an ancestor of the QNAME, the loop stalls at the DNS root and never terminates, repeatedly calling Name::base_name() and pushing newly allocated Name and hashed-name entries into the candidate Vec.

The bug is reachable by any caller of DnssecDnsHandle — including the resolver, recursor, and client — when built with the dnssec-ring or dnssec-aws-lc-rs feature and configured to perform DNSSEC validation. It is triggered while validating a NoData or NXDomain response whose authority section contains an SOA record from a zone other than an ancestor of the QNAME, on a code path that requires NSEC3 closest-encloser proof. In practice this can be reached through an insecure CNAME chain that crosses zone boundaries into a DNSSEC-signed zone returning NoData, but the minimum condition is just a mismatched SOA owner on a response requiring NSEC3 validation.

A debug_assert_ne!(name, Name::root()) guards the loop body, so debug builds abort with a panic on the first iteration past the root. Release builds compile the assertion out and run the loop unbounded, allocating until the process exhausts available memory (OOM). A reachable upstream attacker who can return such a response can therefore crash a debug-built validator or exhaust memory on a release-built one.

The affected code was migrated from hickory-proto to hickory-net as part of the 0.26.0 release. The hickory-proto 0.26.x release no longer offers DnssecDnsHandle and so we recommend all affected users update to hickory-net 0.26.1 when the implementation of that type is required.

hickory-proto: CPU exhaustion during message encoding due to O(n²) name compression

RUSTSEC-2026-0119

During message encoding, hickory-proto's BinEncoder stores pointers to labels that are candidates for name compression in a Vec<(usize, Vec<u8>)>. The name compression logic then searches for matches with a linear scan.

A malicious message with many records can both introduce many candidate labels, and invoke this linear scan many times. This can amplify CPU exhaustion in DoS attacks.

This is similar to CVE-2024-8508.

We recommend all affected users update to hickory-proto 0.26.1 for the fix.