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 async-nats

Dependencies

(30 total, 6 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 aws-lc-rs^1.61.15.1up to date
 base64^0.220.22.1up to date
 bytes^1.4.01.11.0up to date
 futures-util^0.3.280.3.31up to date
 memchr^2.42.7.6up to date
 nkeys^0.40.4.5up to date
 nuid^0.50.6.0out of date
 once_cell^1.18.01.21.3up to date
 pin-project^1.01.1.10up to date
 portable-atomic^11.11.1up to date
 rand^0.80.9.2out of date
 regex^1.9.11.12.2up to date
 ring ⚠️^0.170.17.14maybe insecure
 rustls-native-certs^0.70.8.2out of date
 rustls-pemfile^22.2.0up to date
 rustls-webpki^0.1020.103.8out of date
 serde^1.0.1841.0.228up to date
 serde_json^1.0.1041.0.145up to date
 serde_nanos^0.1.30.1.4up to date
 serde_repr^0.1.160.1.20up to date
 thiserror^1.02.0.17out of date
 time^0.3.360.3.44up to date
 tokio^1.361.48.0up to date
 tokio-rustls^0.260.26.4up to date
 tokio-stream^0.1.170.1.17up to date
 tokio-util^0.70.7.17up to date
 tokio-websockets^0.100.13.0out of date
 tracing^0.10.1.43up to date
 tryhard^0.50.5.2up to date
 url^22.5.7up to date

Dev dependencies

(9 total, 4 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 criterion^0.50.7.0out of date
 futures^0.3.280.3.31up to date
 jsonschema^0.17.10.37.3out of date
 num^0.4.10.4.3up to date
 rand^0.80.9.2out of date
 reqwest^0.11.180.12.24out of date
 ring ⚠️^0.170.17.14maybe insecure
 tokio^1.25.01.48.0up to date
 tracing-subscriber ⚠️^0.30.3.22maybe insecure

Security Vulnerabilities

ring: Some AES functions may panic when overflow checking is enabled.

RUSTSEC-2025-0009

ring::aead::quic::HeaderProtectionKey::new_mask() may panic when overflow checking is enabled. In the QUIC protocol, an attacker can induce this panic by sending a specially-crafted packet. Even unintentionally it is likely to occur in 1 out of every 2**32 packets sent and/or received.

On 64-bit targets operations using ring::aead::{AES_128_GCM, AES_256_GCM} may panic when overflow checking is enabled, when encrypting/decrypting approximately 68,719,476,700 bytes (about 64 gigabytes) of data in a single chunk. Protocols like TLS and SSH are not affected by this because those protocols break large amounts of data into small chunks. Similarly, most applications will not attempt to encrypt/decrypt 64GB of data in one chunk.

Overflow checking is not enabled in release mode by default, but RUSTFLAGS="-C overflow-checks" or overflow-checks = true in the Cargo.toml profile can override this. Overflow checking is usually enabled by default in debug mode.

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.