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 alloy-contract

Dependencies

(13 total, 11 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 alloy-dyn-abi ⚠️^0.8.111.4.1out of date
 alloy-json-abi^0.8.111.4.1out of date
 alloy-network^0.61.1.1out of date
 alloy-network-primitives^0.61.1.1out of date
 alloy-primitives^0.8.111.4.1out of date
 alloy-provider^0.61.1.1out of date
 alloy-pubsub^0.61.1.1out of date
 alloy-rpc-types-eth^0.61.1.1out of date
 alloy-sol-types^0.8.111.4.1out of date
 alloy-transport^0.61.1.1out of date
 futures^0.30.3.31up to date
 futures-util^0.30.3.31up to date
 thiserror^1.02.0.17out of date

Dev dependencies

(9 total, 5 outdated, 2 possibly insecure)

CrateRequiredLatestStatus
 alloy-consensus^0.61.1.1out of date
 alloy-node-bindings^0.61.1.1out of date
 alloy-provider^0.61.1.1out of date
 alloy-rpc-client^0.61.1.1out of date
 alloy-transport-http^0.61.1.1out of date
 reqwest^0.120.12.24up to date
 serde_json^1.01.0.145up to date
 tokio ⚠️^11.48.0maybe insecure
 tracing-subscriber ⚠️^0.30.3.20maybe insecure

Security Vulnerabilities

tokio: reject_remote_clients Configuration corruption

RUSTSEC-2023-0001

On Windows, configuring a named pipe server with pipe_mode will force ServerOptions::reject_remote_clients as false.

This drops any intended explicit configuration for the reject_remote_clients that may have been set as true previously.

The default setting of reject_remote_clients is normally true meaning the default is also overridden as false.

Workarounds

Ensure that pipe_mode is set first after initializing a ServerOptions. For example:

let mut opts = ServerOptions::new();
opts.pipe_mode(PipeMode::Message);
opts.reject_remote_clients(true);

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.

alloy-dyn-abi: DoS vulnerability on `alloy_dyn_abi::TypedData` hashing

RUSTSEC-2025-0073

An uncaught panic triggered by malformed input to alloy_dyn_abi::TypedData could lead to a denial-of-service (DoS) via eip712_signing_hash().

Software with high availability requirements such as network services may be particularly impacted. If in use, external auto-restarting mechanisms can partially mitigate the availability issues unless repeated attacks are possible.

The vulnerability was patched by adding a check to ensure the element is not empty before accessing its first element; an error is returned if it is empty. The fix is included in version v1.4.1 and backported to v0.8.26.

There is no known workaround that mitigates the vulnerability. Upgrading to a patched version is the recommended course of action.

Reported by Christian Reitter & Zeke Mostov from Turnkey.