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 artillery-core

Dependencies

(18 total, 6 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 bastion-executor^0.3.50.4.2out of date
 bastion-utils^0.3.20.3.2up to date
 chrono ⚠️^0.4.130.4.38maybe insecure
 crossbeam-channel^0.4.20.5.12out of date
 cuneiform-fields^0.1.00.1.1up to date
 failure^0.1.80.1.8up to date
 failure_derive^0.1.80.1.8up to date
 futures^0.3.50.3.30up to date
 kaos^0.1.1-alpha.20.1.0up to date
 libp2p ⚠️^0.22.00.53.2out of date
 lightproc^0.3.50.3.5up to date
 log^0.4.110.4.21up to date
 mio ⚠️^0.7.00.8.11out of date
 pin-utils^0.1.00.1.0up to date
 rand^0.7.30.8.5out of date
 serde^1.0.1141.0.198up to date
 serde_json^1.0.561.0.116up to date
 uuid^0.8.11.8.0out of date

Dev dependencies

(5 total, 3 outdated)

CrateRequiredLatestStatus
 bincode^1.3.11.3.3up to date
 clap^2.33.14.5.4out of date
 criterion^0.3.30.5.1out of date
 once_cell^1.4.01.19.0up to date
 pretty_env_logger^0.4.00.5.0out of 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

libp2p: libp2p Lack of resource management DoS

RUSTSEC-2022-0084

libp2p allows a potential attacker to cause victim p2p node to run out of memory

The out of memory failure can cause crashes where libp2p is intended to be used within large scale networks leading to potential Denial of Service (DoS) vector

Users should upgrade or reference the DoS mitigation strategies.

mio: Tokens for named pipes may be delivered after deregistration

RUSTSEC-2024-0019

Impact

When using named pipes on Windows, mio will under some circumstances return invalid tokens that correspond to named pipes that have already been deregistered from the mio registry. The impact of this vulnerability depends on how mio is used. For some applications, invalid tokens may be ignored or cause a warning or a crash. On the other hand, for applications that store pointers in the tokens, this vulnerability may result in a use-after-free.

For users of Tokio, this vulnerability is serious and can result in a use-after-free in Tokio.

The vulnerability is Windows-specific, and can only happen if you are using named pipes. Other IO resources are not affected.

Affected versions

This vulnerability has been fixed in mio v0.8.11.

All versions of mio between v0.7.2 and v0.8.10 are vulnerable.

Tokio is vulnerable when you are using a vulnerable version of mio AND you are using at least Tokio v1.30.0. Versions of Tokio prior to v1.30.0 will ignore invalid tokens, so they are not vulnerable.

Workarounds

Vulnerable libraries that use mio can work around this issue by detecting and ignoring invalid tokens.

Technical details

When an IO resource registered with mio has a readiness event, mio delivers that readiness event to the user using a user-specified token. Mio guarantees that when an IO resource is deregistered, then it will never return the token for that IO resource again. However, for named pipes on windows, mio may sometimes deliver the token for a named pipe even though the named pipe has been previously deregistered.

This vulnerability was originally reported in the Tokio issue tracker: tokio-rs/tokio#6369
This vulnerability was fixed in: tokio-rs/mio#1760

Thank you to @rofoun and @radekvit for discovering and reporting this issue.