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 krator

Dependencies

(17 total, 7 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.01.0.82up to date
 async-trait^0.10.1.80up to date
 futures^0.30.3.30up to date
 json-patch^0.21.2.0out of date
 k8s-openapi^0.130.21.1out of date
 krator-derive^0.40.5.0out of date
 kube^0.600.90.0out of date
 kube-runtime^0.600.90.0out of date
 rcgen^0.8.90.13.1out of date
 serde^1.01.0.198up to date
 serde_json^1.01.0.116up to date
 serde_yaml ⚠️^0.80.9.34+deprecatedout of date
 tokio ⚠️^1.01.37.0maybe insecure
 tokio-stream^0.10.1.15up to date
 tracing^0.10.1.40up to date
 tracing-futures^0.20.2.5up to date
 warp ⚠️^0.30.3.7maybe insecure

Dev dependencies

(12 total, 7 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 chrono ⚠️^0.40.4.38maybe insecure
 compiletest_rs^0.70.10.2out of date
 k8s-openapi^0.130.21.1out of date
 kube-derive^0.600.90.0out of date
 opentelemetry-jaeger^0.110.21.0out of date
 rand^0.80.8.5up to date
 schemars^0.80.8.16up to date
 serde_yaml ⚠️^0.80.9.34+deprecatedout of date
 structopt^0.30.3.26up to date
 tokio ⚠️^1.01.37.0maybe insecure
 tracing-opentelemetry^0.110.23.0out of date
 tracing-subscriber^0.20.3.18out of date

Security Vulnerabilities

serde_yaml: Uncontrolled recursion leads to abort in deserialization

RUSTSEC-2018-0005

Affected versions of this crate did not properly check for recursion while deserializing aliases.

This allows an attacker to make a YAML file with an alias referring to itself causing an abort.

The flaw was corrected by checking the recursion depth.

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

warp: Improper validation of Windows paths could lead to directory traversal attack

RUSTSEC-2022-0082

Path resolution in warp::filters::fs::dir didn't correctly validate Windows paths meaning paths like /foo/bar/c:/windows/web/screen/img101.png would be allowed and respond with the contents of c:/windows/web/screen/img101.png. Thus users could potentially read files anywhere on the filesystem.

This only impacts Windows. Linux and other unix likes are not impacted by this.

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