This project might be open to known security vulnerabilities, which can be prevented by tightening the version range of affected dependencies. Find detailed information at the bottom.

Crate libp2p-mdns

Dependencies

(15 total, 5 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 async-io^2.3.32.6.0up to date
 async-std^1.12.01.13.2up to date
 data-encoding^2.6.02.11.0up to date
 futures^0.3.300.3.32up to date
 hickory-proto ⚠️^0.24.10.26.1out of date
 if-watch^3.2.03.2.2up to date
 libp2p-core^0.42.00.43.2out of date
 libp2p-identity^0.2.90.2.13up to date
 libp2p-swarm^0.45.00.47.1out of date
 rand^0.8.30.10.1out of date
 smallvec^1.13.21.15.1up to date
 socket2^0.5.70.6.3out of date
 tokio^1.381.52.3up to date
 tracing^0.1.370.1.44up to date
 void^1.0.21.0.2up to date

Dev dependencies

(7 total, 4 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 async-std^1.9.01.13.2up to date
 libp2p-noise^0.44.00.46.1out of date
 libp2p-swarm^0.45.00.47.1out of date
 libp2p-tcp^0.42.00.44.1out of date
 libp2p-yamux^0.45.20.47.0out of date
 tokio^1.381.52.3up to date
 tracing-subscriber ⚠️^0.30.3.23maybe insecure

Security Vulnerabilities

tracing-subscriber: Logging user input may result in poisoning logs with ANSI escape sequences

RUSTSEC-2025-0055

Previous versions of tracing-subscriber were vulnerable to ANSI escape sequence injection attacks. Untrusted user input containing ANSI escape sequences could be injected into terminal output when logged, potentially allowing attackers to:

  • Manipulate terminal title bars
  • Clear screens or modify terminal display
  • Potentially mislead users through terminal manipulation

In isolation, impact is minimal, however security issues have been found in terminal emulators that enabled an attacker to use ANSI escape sequences via logs to exploit vulnerabilities in the terminal emulator.

This was patched in PR #3368 to escape ANSI control characters from user input.

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.