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 solana-metrics

Dependencies

(6 total, 4 outdated, 1 possibly insecure)

CrateRequiredLatestStatus
 influx_db_client^0.3.60.5.1out of date
 lazy_static^1.3.01.4.0up to date
 log^0.4.20.4.21up to date
 reqwest^0.9.110.12.4out of date
 solana-sdk^0.12.11.18.12out of date
 sys-info ⚠️^0.5.60.9.1out of date

Dev dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 rand^0.6.50.8.5out 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: