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, 8 outdated, 3 possibly insecure)

CrateRequiredLatestStatus
 anyhow^1.01.0.100up to date
 async-trait^0.10.1.89up to date
 futures^0.30.3.31up to date
 json-patch^0.24.1.0out of date
 k8s-openapi^0.130.26.1out of date
 krator-derive^0.40.5.0out of date
 kube^0.602.0.1out of date
 kube-runtime^0.602.0.1out of date
 rcgen^0.8.90.14.6out of date
 serde^1.01.0.228up to date
 serde_json^1.01.0.148up to date
 serde_yaml ⚠️^0.80.9.34+deprecatedout of date
 tokio ⚠️^1.01.48.0maybe insecure
 tokio-stream^0.10.1.17up to date
 tracing^0.10.1.44up to date
 tracing-futures^0.20.2.5up to date
 warp ⚠️^0.30.4.2out of date

Dev dependencies

(12 total, 9 outdated, 4 possibly insecure)

CrateRequiredLatestStatus
 chrono ⚠️^0.40.4.42maybe insecure
 compiletest_rs^0.70.11.2out of date
 k8s-openapi^0.130.26.1out of date
 kube-derive^0.602.0.1out of date
 opentelemetry-jaeger^0.110.22.0out of date
 rand^0.80.9.2out of date
 schemars^0.81.2.0out of date
 serde_yaml ⚠️^0.80.9.34+deprecatedout of date
 structopt^0.30.3.26up to date
 tokio ⚠️^1.01.48.0maybe insecure
 tracing-opentelemetry^0.110.32.0out of date
 tracing-subscriber ⚠️^0.20.3.22out 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);

tracing-subscriber: Logging user input may result in poisoning logs with ANSI escape sequences

RUSTSEC-2025-0055

Previous versions of tracing-subscriber were vulnerable to ANSI escape sequence injection attacks. Untrusted user input containing ANSI escape sequences could be injected into terminal output when logged, potentially allowing attackers to:

  • Manipulate terminal title bars
  • Clear screens or modify terminal display
  • Potentially mislead users through terminal manipulation

In isolation, impact is minimal, however security issues have been found in terminal emulators that enabled an attacker to use ANSI escape sequences via logs to exploit vulnerabilities in the terminal emulator.

This was patched in PR #3368 to escape ANSI control characters from user input.