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.2up to date
 async-stream^0.3.50.3.6up to date
 async-trait^0.1.640.1.87up to date
 backon^1.31.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
 hostname^0.40.4.0up to date
 json-patch^44.0.0up to date
 k8s-openapi^0.24.00.24.0up to date
 kube-client=0.99.00.99.0up to date
 parking_lot^0.12.00.12.3up to date
 pin-project^1.0.41.1.10up to date
 serde^1.0.1301.0.219up to date
 serde_json^1.0.681.0.140up to date
 thiserror^2.0.32.0.12up to date
 tokio ⚠️^1.14.01.44.1maybe insecure
 tokio-util^0.7.00.7.14up to date
 tracing^0.1.360.1.41up to date

Dev dependencies

(8 total, 1 possibly insecure)

CrateRequiredLatestStatus
 k8s-openapi^0.24.00.24.0up to date
 kube<2.0.0, >=0.98.00.99.0up to date
 rand^0.9.00.9.0up to date
 schemars^0.8.60.8.22up to date
 serde_json^1.0.681.0.140up to date
 serde_yaml^0.9.190.9.34+deprecatedup to date
 tokio ⚠️^1.14.01.44.1maybe 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.