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 kube-runtime

Dependencies

(20 total, 2 possibly insecure)

CrateRequiredLatestStatus
 ahash^0.80.8.11up to date
 async-broadcast^0.7.00.7.1up to date
 async-stream^0.3.50.3.6up to date
 async-trait^0.1.640.1.83up to date
 backoff^0.4.00.4.0up to date
 educe^0.6.00.6.0up to date
 futures^0.3.170.3.31up to date
 hashbrown ⚠️^0.15.00.15.2maybe insecure
 json-patch^33.0.1up to date
 jsonptr^0.60.6.3up to date
 k8s-openapi^0.23.00.23.0up to date
 kube-client=0.97.00.97.0up to date
 parking_lot^0.12.00.12.3up to date
 pin-project^1.0.41.1.7up to date
 serde^1.0.1301.0.216up to date
 serde_json^1.0.681.0.134up to date
 thiserror^2.0.32.0.9up to date
 tokio ⚠️^1.14.01.42.0maybe insecure
 tokio-util^0.7.00.7.13up to date
 tracing^0.1.360.1.41up to date

Dev dependencies

(7 total, 1 possibly insecure)

CrateRequiredLatestStatus
 k8s-openapi^0.23.00.23.0up to date
 kube<1.0.0, >=0.60.00.97.0up to date
 rand^0.8.30.8.5up to date
 schemars^0.8.60.8.21up to date
 serde_json^1.0.681.0.134up to date
 tokio ⚠️^1.14.01.42.0maybe insecure
 tracing-subscriber^0.3.170.3.19up to date

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);

hashbrown: Borsh serialization of HashMap is non-canonical

RUSTSEC-2024-0402

The borsh serialization of the HashMap did not follow the borsh specification. It potentially produced non-canonical encodings dependent on insertion order. It also did not perform canonicty checks on decoding.

This can result in consensus splits and cause equivalent objects to be considered distinct.

This was patched in 0.15.1.