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

Crate solana

Dependencies

(31 total, 17 outdated, 2 insecure)

CrateRequiredLatestStatus
 atty^0.20.2.14up to date
 bincode^1.0.03.0.0out of date
 bs58^0.2.00.5.1out of date
 byteorder^1.2.11.5.0up to date
 chrono^0.4.00.4.45up to date
 clap^2.314.6.7out of date
 dirs^1.0.27.0.0out of date
 env_logger^0.5.120.11.11out of date
 futures^0.1.210.3.34out of date
 generic-array^0.11.11.4.5out of date
 getopts^0.20.2.24up to date
 influx_db_client^0.3.40.7.0out of date
 itertools^0.7.80.15.0out of date
 libc^0.2.10.2.189up to date
 log^0.4.20.4.34up to date
 matches^0.1.60.1.10up to date
 pnet_datalink^0.21.00.35.0out of date
 rand^0.5.10.10.3out of date
 rayon^1.0.01.12.0up to date
 reqwest^0.8.60.13.5out of date
 ring ⚠️^0.13.20.17.14insecure
 serde^1.0.271.0.229up to date
 serde_derive^1.0.271.0.229up to date
 serde_json^1.0.101.0.151up to date
 sha2^0.7.00.11.0out of date
 sys-info ⚠️^0.5.60.9.1insecure
 tokio^0.11.53.1out of date
 tokio-codec^0.10.1.2up to date
 tokio-core^0.1.170.1.18up to date
 tokio-io^0.10.1.13up to date
 untrusted^0.6.20.9.0out of date

Dev dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 criterion^0.20.8.2out of date

Security Vulnerabilities

sys-info: Double free when calling `sys_info::disk_info` from multiple threads

RUSTSEC-2020-0100

Affected versions of sys-info use a static, global, list to store temporary disk information while running. The function that cleans up this list, DFCleanup, assumes a single threaded environment and will try to free the same memory twice in a multithreaded environment.

This results in consistent double-frees and segfaults when calling sys_info::disk_info from multiple threads at once.

The issue was fixed by moving the global variable into a local scope.

Safer Alternatives:

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.