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

Crate iroh-net

Dependencies

(78 total, 40 outdated, 2 insecure)

CrateRequiredLatestStatus
 anyhow^11.0.104up to date
 axum^0.7.40.8.9out of date
 backoff^0.4.00.4.0up to date
 base64^0.22.10.23.1out of date
 bytes^1.71.12.1up to date
 clap^44.6.7up to date
 der^0.70.8.2out of date
 derive_more^1.0.02.1.1out of date
 futures-buffered^0.2.80.2.13up to date
 futures-concurrency^7.6.07.7.1up to date
 futures-lite^2.32.6.1up to date
 futures-sink^0.3.250.3.34up to date
 futures-util^0.3.250.3.34up to date
 genawaiter^0.99.10.99.1up to date
 governor^0.6.00.10.4out of date
 hex^0.4.30.4.3up to date
 hickory-proto ⚠️=0.25.0-alpha.20.26.3insecure
 hickory-resolver=0.25.0-alpha.20.26.3out of date
 hostname^0.3.10.4.2out 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.21up to date
 igd-next^0.15.10.17.1out of date
 iroh-base^0.28.01.3.0out of date
 iroh-metrics^0.28.01.0.2out of date
 libc^0.2.1390.2.189up to date
 netdev^0.30.00.46.3out of date
 netlink-packet-core^0.7.00.9.0out of date
 netlink-packet-route^0.17.00.33.0out of date
 netlink-sys^0.8.50.9.0out of date
 netwatch^0.1.00.19.3out of date
 num_enum^0.70.7.6up to date
 once_cell^1.18.01.21.4up to date
 parking_lot^0.12.10.12.5up to date
 pin-project^11.1.13up to date
 pkarr^28.0.2out of date
 portmapper^0.1.00.19.3out of date
 postcard^11.1.3up to date
 iroh-quinn^0.12.00.16.1out of date
 iroh-quinn-proto^0.12.00.15.1out of date
 iroh-quinn-udp^0.5.50.8.0out of date
 rand^0.80.10.3out of date
 rcgen^0.120.14.10out of date
 regex^1.7.11.13.1up to date
 reqwest^0.120.13.5out of date
 ring^0.170.17.14up to date
 rtnetlink^0.13.00.23.0out of date
 rustls^0.230.23.45up to date
 rustls-pemfile^2.12.2.0up to date
 serde^11.0.229up to date
 smallvec^1.11.11.16.2up to date
 socket2^0.5.30.6.5out of date
 strum^0.26.20.28.0out of date
 stun-rs^0.1.50.1.11up to date
 surge-ping^0.8.00.9.1out of date
 swarm-discovery^0.2.10.6.3out of date
 thiserror^12.0.21out of date
 time^0.3.200.3.55up to date
 tokio^11.53.1up to date
 tokio-rustls^0.260.26.6up to date
 tokio-rustls-acme^0.40.9.1out of date
 tokio-stream^0.1.150.1.19up to date
 tokio-tungstenite^0.210.30.0out of date
 tokio-tungstenite-wasm^0.30.9.0out of date
 tokio-util^0.7.120.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
 tungstenite^0.210.30.0out of date
 url^2.42.5.8up to date
 watchable^1.1.21.1.2up to date
 rustls-webpki ⚠️^0.1020.103.15insecure
 webpki-roots^0.261.0.9out of date
 windows^0.510.62.2out of date
 wmi^0.130.18.4out of date
 x509-parser^0.160.18.1out of date
 z32^1.0.31.3.0up to date

Dev dependencies

(14 total, 6 outdated)

CrateRequiredLatestStatus
 axum^0.7.40.8.9out of date
 clap^44.6.7up to date
 criterion^0.5.10.8.2out of date
 crypto_box^0.9.10.9.1up to date
 iroh-test^0.28.00.31.0out of date
 mainline^2.0.18.0.0out of date
 ntest^0.90.10.0out of date
 pretty_assertions^1.41.4.1up to date
 proptest^1.2.01.11.0up to date
 rand_chacha^0.3.10.10.0out of date
 serde_json^1.0.1071.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

Security Vulnerabilities

hickory-proto: Hickory DNS failure to verify self-signed RRSIG for DNSKEYs

RUSTSEC-2025-0006

Summary

The DNSSEC validation routines treat entire RRsets of DNSKEY records as trusted once they have established trust in only one of the DNSKEYs. As a result, if a zone includes a DNSKEY with a public key that matches a configured trust anchor, all keys in that zone will be trusted to authenticate other records in the zone. There is a second variant of this vulnerability involving DS records, where an authenticated DS record covering one DNSKEY leads to trust in signatures made by an unrelated DNSKEY in the same zone.

Details

verify_dnskey_rrset() will return Ok(true) if any record's public key matches a trust anchor. This results in verify_rrset() returning a Secure proof. This ultimately results in successfully verifying a response containing DNSKEY records. verify_default_rrset() looks up DNSKEY records by calling handle.lookup(), which takes the above code path. There's a comment following this that says "DNSKEYs were already validated by the inner query in the above lookup", but this is not the case. To fully verify the whole RRset of DNSKEYs, it would be necessary to check self-signatures by the trusted key over the other keys. Later in verify_default_rrset(), verify_rrset_with_dnskey() is called multiple times with different keys and signatures, and if any call succeeds, then its Proof is returned.

Similarly, verify_dnskey_rrset() returns Ok(false) if any DNSKEY record is covered by a DS record. A comment says "If all the keys are valid, then we are secure", but this is only checking that one key is authenticated by a DS in the parent zone's delegation point. This time, after control flow returns to verify_rrset(), it will call verify_default_rrset(). The special handling for DNSKEYs in verify_default_rrset() will then call verify_rrset_with_dnskey() using each KSK DNSKEY record, and if one call succeeds, return its Proof. If there are multiple KSK DNSKEYs in the RRset, then this leads to another authentication break. We need to either pass the authenticated DNSKEYs from the DS covering check to the RRSIG validation, or we need to perform this RRSIG validation of the DNSKEY RRset inside verify_dnskey_rrset() and cut verify_default_rrset() out of DNSKEY RRset validation entirely.

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: 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.