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 asuran

Dependencies

(26 total, 12 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 asuran-chunker^0.0.100.1.6out of date
 asuran-core^0.0.100.1.6out of date
 async-trait^0.1.240.1.80up to date
 base64^0.12.00.22.0out of date
 bincode^1.2.11.3.3up to date
 byteorder^1.3.41.5.0up to date
 chrono ⚠️^0.4.110.4.38maybe insecure
 fastcdc^1.0.23.1.0out of date
 futures^0.3.40.3.30up to date
 futures-intrusive^0.3.00.5.0out of date
 lazy_static^1.4.01.4.0up to date
 lru ⚠️^0.4.30.12.3out of date
 num_cpus^1.12.01.16.0up to date
 petgraph^0.5.00.6.4out of date
 rand^0.7.30.8.5out of date
 rmp-serde^0.14.31.2.0out of date
 semver^0.9.01.0.22out of date
 serde^1.0.1041.0.198up to date
 serde_bytes^0.11.30.11.14up to date
 thiserror^1.0.111.0.59up to date
 tokio ⚠️^0.2.131.37.0out of date
 tracing^0.1.130.1.40up to date
 tracing-futures^0.2.30.2.5up to date
 uuid^0.8.11.8.0out of date
 walkdir^2.3.12.5.0up to date
 zeroize^1.1.01.8.0up to date

Dev dependencies

(6 total, 3 outdated)

CrateRequiredLatestStatus
 criterion^0.3.10.5.1out of date
 dir-diff^0.3.20.3.3up to date
 futures-await-test^0.3.00.3.0up to date
 quickcheck^0.9.21.0.3out of date
 quickcheck_macros^0.9.11.0.0out of date
 tempfile^3.1.03.10.1up to date

Security Vulnerabilities

chrono: Potential segfault in `localtime_r` invocations

RUSTSEC-2020-0159

Impact

Unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.

Workarounds

No workarounds are known.

References

tokio: Data race when sending and receiving after closing a `oneshot` channel

RUSTSEC-2021-0124

If a tokio::sync::oneshot channel is closed (via the oneshot::Receiver::close method), a data race may occur if the oneshot::Sender::send method is called while the corresponding oneshot::Receiver is awaited or calling try_recv.

When these methods are called concurrently on a closed channel, the two halves of the channel can concurrently access a shared memory location, resulting in a data race. This has been observed to cause memory corruption.

Note that the race only occurs when both halves of the channel are used after the Receiver half has called close. Code where close is not used, or where the Receiver is not awaited and try_recv is not called after calling close, is not affected.

See tokio#4225 for more details.

lru: Use after free in lru crate

RUSTSEC-2021-0130

Lru crate has use after free vulnerability.

Lru crate has two functions for getting an iterator. Both iterators give references to key and value. Calling specific functions, like pop(), will remove and free the value, and but it's still possible to access the reference of value which is already dropped causing use after free.