This project contains known security vulnerabilities. Find detailed information at the bottom.

Crate krustlet

Dependencies

(12 total, 6 outdated, 1 insecure)

CrateRequiredLatestStatus
 anyhow^1.01.0.104up to date
 dirs-next^2.0.02.0.0up to date
 futures^0.30.3.34up to date
 hostname^0.30.4.2out of date
 k8s-openapi^0.130.28.0out of date
 krator^0.50.6.0out of date
 kube^0.604.2.0out of date
 oci-distribution^0.80.11.0out of date
 regex^1.31.13.1up to date
 serde^1.01.0.229up to date
 tokio^1.01.53.1up to date
 tracing-subscriber ⚠️^0.20.3.23insecure

Dev dependencies

(13 total, 6 outdated)

CrateRequiredLatestStatus
 async-trait^0.10.1.92up to date
 compiletest_rs^0.60.11.2out of date
 k8s-csi^0.40.4.0up to date
 kube-runtime^0.604.2.0out of date
 reqwest^0.110.13.5out of date
 serde_derive^1.01.0.229up to date
 serde_json^1.01.0.151up to date
 tempfile^3.23.27.0up to date
 tokio^1.01.53.1up to date
 tonic^0.50.14.6out of date
 tokio-stream^0.10.1.19up to date
 tower^0.4.20.5.3out of date
 prost^0.80.14.4out of date

Build dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 tonic-build^0.50.14.6out of date

Crate kubelet

Dependencies

(50 total, 27 outdated, 2 insecure)

CrateRequiredLatestStatus
 anyhow^1.01.0.104up to date
 async-recursion^0.31.1.1out of date
 async-stream^0.30.3.6up to date
 async-trait^0.10.1.92up to date
 base64^0.130.23.1out of date
 chrono^0.40.4.45up to date
 dirs-next^2.0.02.0.0up to date
 either^1.61.18.0up to date
 futures^0.30.3.34up to date
 hostname^0.30.4.2out of date
 http^0.21.5.0out of date
 hyper^0.141.11.1out of date
 json-patch^0.24.2.0out of date
 k8s-csi^0.40.4.0up to date
 k8s-openapi^0.130.28.0out of date
 krator^0.50.6.0out of date
 kube^0.604.2.0out of date
 kube-runtime^0.604.2.0out of date
 lazy_static^1.41.5.0up to date
 notify^5.0.0-pre.38.2.0out of date
 oci-distribution^0.80.11.0out of date
 prost^0.80.14.4out of date
 prost-types^0.80.14.4out of date
 rcgen^0.80.14.10out of date
 regex^1.51.13.1up to date
 reqwest^0.110.13.5out of date
 serde^1.01.0.229up to date
 serde_json^1.01.0.151up to date
 serde_yaml^0.80.9.34+deprecatedout of date
 structopt^0.30.3.26up to date
 tempfile^3.23.27.0up to date
 thiserror^1.02.0.20out of date
 tokio ⚠️^0.21.53.1insecure
 tokio-stream^0.10.1.19up to date
 tonic^0.50.14.6out of date
 tower^0.4.20.5.3out of date
 tracing^0.10.1.44up to date
 tracing-futures^0.20.2.5up to date
 url^2.12.5.8up to date
 uuid^0.8.11.26.1out of date
 warp^0.30.4.3out of date
 iovec^0.1.20.1.4up to date
 kernel32-sys^0.2.20.2.2up to date
 lazycell^11.3.0up to date
 mio^0.61.2.3out of date
 miow^0.2.10.6.1out of date
 remove_dir_all ⚠️^0.7.01.0.0insecure
 tokio-compat-02^0.20.2.0up to date
 winapi^0.2.80.3.9out of date
 ws2_32-sys^0.2.10.2.1up to date

Dev dependencies

(8 total, 5 outdated)

CrateRequiredLatestStatus
 reqwest^0.110.13.5out of date
 tempfile^3.13.27.0up to date
 tower-test^0.40.4.0up to date
 k8s-openapi^0.130.28.0out of date
 bytes^0.31.12.1out of date
 env_logger^0.40.11.11out of date
 slab^0.40.4.12up to date
 version-sync^0.50.9.5out of date

Build dependencies

(1 total, 1 outdated)

CrateRequiredLatestStatus
 tonic-build^0.50.14.6out of date

Crate wasi-provider

Dependencies

(20 total, 8 outdated, 2 insecure)

CrateRequiredLatestStatus
 anyhow^1.01.0.104up to date
 async-trait^0.10.1.92up to date
 backtrace^0.30.3.76up to date
 cap-std^0.194.0.3out of date
 chrono^0.40.4.45up to date
 futures^0.30.3.34up to date
 krator^0.50.6.0out of date
 kube^0.604.2.0out of date
 serde^1.01.0.229up to date
 serde_derive^1.01.0.229up to date
 serde_json^1.01.0.151up to date
 tempfile^3.13.27.0up to date
 tokio^1.01.53.1up to date
 tracing^0.10.1.44up to date
 wasi-cap-std-sync^0.3017.0.3out of date
 wasi-common^0.3046.0.3out of date
 wasmtime ⚠️^0.3048.0.2insecure
 wasmtime-wasi ⚠️^0.3048.0.2insecure
 wat^1.0.381.259.0up to date
 wasi-experimental-http-wasmtime^0.6.00.10.0out of date

Dev dependencies

(2 total, 2 outdated)

CrateRequiredLatestStatus
 k8s-openapi^0.130.28.0out of date
 oci-distribution^0.80.11.0out of date

Security Vulnerabilities

tokio: Data race when sending and receiving after closing a `oneshot` channel

RUSTSEC-2021-0124

If a tokio::sync::oneshot channel is closed (via the oneshot::Receiver::close method), a data race may occur if the oneshot::Sender::send method is called while the corresponding oneshot::Receiver is awaited or calling try_recv.

When these methods are called concurrently on a closed channel, the two halves of the channel can concurrently access a shared memory location, resulting in a data race. This has been observed to cause memory corruption.

Note that the race only occurs when both halves of the channel are used after the Receiver half has called close. Code where close is not used, or where the Receiver is not awaited and try_recv is not called after calling close, is not affected.

See tokio#4225 for more details.

wasmtime: Bug in pooling instance allocator

RUSTSEC-2022-0075

bug in Wasmtime's implementation of its pooling instance allocator where when a linear memory is reused for another instance the initial heap snapshot of the prior instance can be visible, erroneously to the next instance.

Mitigations are described here.

wasmtime: Bug in Wasmtime implementation of pooling instance allocator

RUSTSEC-2022-0076

Bug in Wasmtime's implementation of its pooling instance allocator when the allocator is configured to give WebAssembly instances a maximum of zero pages of memory.

In this configuration, the virtual memory mapping for WebAssembly memories did not meet the compiler-required configuration requirements for safely executing WebAssembly modules. Wasmtime's default settings require virtual memory page faults to indicate that wasm reads/writes are out-of-bounds, but the pooling allocator's configuration would not create an appropriate virtual memory mapping for this meaning out of bounds reads/writes can successfully read/write memory unrelated to the wasm sandbox within range of the base address of the memory mapping created by the pooling allocator.

This bug is not applicable with the default settings of the wasmtime crate.

This bug can only be triggered by setting InstanceLimits::memory_pages to zero.

This is expected to be a very rare configuration since this means that wasm modules cannot allocate any pages of linear memory.

All wasm modules produced by all current toolchains are highly likely to use linear memory, so it's expected to be unlikely that this configuration is set to zero by any production embedding of Wasmtime.

wasmtime: Miscompilation of `i8x16.swizzle` and `select` with v128 inputs

RUSTSEC-2022-0095

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-jqwc-c49r-4w2x. For more information see the GitHub-hosted security advisory.

wasmtime: Invalid drop of VMExternRef from partially-initialized instances in the pooling instance allocator

RUSTSEC-2022-0096

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-88xq-w8cq-xfg7. For more information see the GitHub-hosted security advisory.

wasmtime: Out of bounds write in `wasmtime_trap_code` C API function

RUSTSEC-2022-0097

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-h84q-m8rr-3v9q. For more information see the GitHub-hosted security advisory.

wasmtime: Data leakage between instances in the pooling allocator

RUSTSEC-2022-0098

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-wh6w-3828-g9qf. For more information see the GitHub-hosted security advisory.

wasmtime: Use after free with `externref`s and epoch interruption in Wasmtime

RUSTSEC-2022-0099

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-gwc9-348x-qwv2. For more information see the GitHub-hosted security advisory.

wasmtime: Use After Free with `externref`s in Wasmtime

RUSTSEC-2022-0100

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-5fhj-g3p3-pq9g. For more information see the GitHub-hosted security advisory.

wasmtime: Miscompilation of constant values in division on AArch64

RUSTSEC-2022-0101

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-7f6x-jwh5-m9r4. For more information see the GitHub-hosted security advisory.

wasmtime: Out of bounds read/write with zero-memory-pages configuration

RUSTSEC-2022-0102

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-44mr-8vmm-wjhg. For more information see the GitHub-hosted security advisory.

remove_dir_all: Race Condition Enabling Link Following and Time-of-check Time-of-use (TOCTOU)

RUSTSEC-2023-0018

The remove_dir_all crate is a Rust library that offers additional features over the Rust standard library fs::remove_dir_all function.

It was possible to trick a privileged process doing a recursive delete in an attacker controlled directory into deleting privileged files, on all operating systems.

For instance, consider deleting a tree called 'etc' in a parent directory called 'p'. Between calling remove_dir_all("a") and remove_dir_all("a") actually starting its work, the attacker can move 'p' to 'p-prime', and replace 'p' with a symlink to '/'. Then the privileged process deletes 'p/etc' which is actually /etc, and now your system is broken. There are some mitigations for this exact scenario, such as CWD relative file lookup, but they are not guaranteed - any code using absolute paths will not have that protection in place.

The same attack could be performed at any point in the directory tree being deleted: if 'a' contains a child directory called 'etc', attacking the deletion by replacing 'a' with a link is possible.

The new code in this release mitigates the attack within the directory tree being deleted by using file-handle relative operations: to open 'a/etc', the path 'etc' relative to 'a' is opened, where 'a' is represented by a file descriptor (Unix) or handle (Windows). With the exception of the entry points into the directory deletion logic, this is robust against manipulation of the directory hierarchy, and remove_dir_all will only delete files and directories contained in the tree it is deleting.

The entry path however is a challenge - as described above, there are some potential mitigations, but since using them must be done by the calling code, it is hard to be confident about the security properties of the path based interface.

The new extension trait RemoveDir provides an interface where it is much harder to get it wrong.

somedir.remove_dir_contents("name-of-child").

Callers can then make their own security evaluation about how to securely get a directory handle. That is still not particularly obvious, and we're going to follow up with a helper of some sort (probably in the fs_at crate). Once that is available, the path based entry points will get deprecated.

In the interim, processes that might run with elevated privileges should figure out how to securely identify the directory they are going to delete, to avoid the initial race. Pragmatically, other processes should be fine with the path based entry points : this is the same interface std::fs::remove_dir_all offers, and an unprivileged process running in an attacker controlled directory can't do anything that the attacker can't already do.

wasmtime: Guest-controlled out-of-bounds read/write on x86\_64

RUSTSEC-2023-0090

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-ff4p-7xrq-q5r8. For more information see the GitHub-hosted security advisory.

wasmtime: Miscompilation of wasm `i64x2.shr_s` instruction with constant input on x86\_64

RUSTSEC-2023-0091

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-gw5p-q8mj-p7gh. For more information see the GitHub-hosted security advisory.

wasmtime: Undefined Behavior in Rust runtime functions

RUSTSEC-2023-0092

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-ch89-5g45-qwc7. For more information see the GitHub-hosted security advisory.

wasmtime: Miscompilation of `i8x16.select` with the same inputs on x86\_64

RUSTSEC-2023-0093

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-xm67-587q-r2vw. For more information see the GitHub-hosted security advisory.

wasmtime: Wasmtime doesn't fully sandbox all the Windows device filenames

RUSTSEC-2024-0438

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-c2f5-jxjv-2hh8. For more information see the GitHub-hosted security advisory.

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.

wasmtime: Unsound API access to a WebAssembly shared linear memory

RUSTSEC-2025-0118

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hc7m-r6v8-hg9q For more information see the GitHub-hosted security advisory.

wasmtime: Guest-controlled resource exhaustion in WASI implementations

RUSTSEC-2026-0020

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-852m-cvvp-9p4w For more information see the GitHub-hosted security advisory.

wasmtime: Panic adding excessive fields to a `wasi:http/types.fields` instance

RUSTSEC-2026-0021

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-243v-98vx-264h For more information see the GitHub-hosted security advisory.

wasmtime: Panic when lifting `flags` component value

RUSTSEC-2026-0085

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-m758-wjhj-p3jq For more information see the GitHub-hosted security advisory.

wasmtime: Host data leakage with 64-bit tables and Winch

RUSTSEC-2026-0086

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-m9w2-8782-2946 For more information see the GitHub-hosted security advisory.

wasmtime: Wasmtime segfault or unused out-of-sandbox load with `f64x2.splat` operator on Cranelift x86-64

RUSTSEC-2026-0087

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-qqfj-4vcm-26hv For more information see the GitHub-hosted security advisory.

wasmtime: Data leakage between pooling allocator instances

RUSTSEC-2026-0088

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-6wgr-89rj-399p For more information see the GitHub-hosted security advisory.

wasmtime: Host panic when Winch compiler executes `table.fill`

RUSTSEC-2026-0089

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-q49f-xg75-m9xw For more information see the GitHub-hosted security advisory.

wasmtime: Out-of-bounds write or crash when transcoding component model strings

RUSTSEC-2026-0091

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-394w-hwhg-8vgm For more information see the GitHub-hosted security advisory.

wasmtime: Panic when transcoding misaligned component model UTF-16 strings

RUSTSEC-2026-0092

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-jxhv-7h78-9775 For more information see the GitHub-hosted security advisory.

wasmtime: Heap OOB read in component model UTF-16 to latin1+utf16 string transcoding

RUSTSEC-2026-0093

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hx6p-xpx3-jvvv For more information see the GitHub-hosted security advisory.

wasmtime: Improperly masked return value from `table.grow` with Winch compiler backend

RUSTSEC-2026-0094

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-f984-pcp8-v2p7 For more information see the GitHub-hosted security advisory.

wasmtime: Wasmtime with Winch compiler backend may allow a sandbox-escaping memory access

RUSTSEC-2026-0095

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-xx5w-cvp6-jv83 For more information see the GitHub-hosted security advisory.

wasmtime: Miscompiled guest heap access enables sandbox escape on aarch64 Cranelift

RUSTSEC-2026-0096

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-jhxm-h53p-jm7w For more information see the GitHub-hosted security advisory.

wasmtime-wasi: WASI path_open(TRUNCATE) bypasses `FilePerms::WRITE` host restriction

RUSTSEC-2026-0149

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-2r75-cxrj-cmph For more information see the GitHub-hosted security advisory.

wasmtime-wasi: Leak in WASIp1 `fd_renumber` implementation

RUSTSEC-2026-0182

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-3p27-qvp9-27qf For more information see the GitHub-hosted security advisory.

wasmtime-wasi: WASI hard links and renames bypass wasmtime-wasi's FilePerms for destination

RUSTSEC-2026-0188

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-4ch3-9j33-3pmj For more information see the GitHub-hosted security advisory.

wasmtime: Stores can mix up type indices between engines

RUSTSEC-2026-0222

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-hgjw-h833-99q9 For more information see the GitHub-hosted security advisory.

wasmtime: Filesystem sandbox escape when paths or symlinks contain trailing slashes

RUSTSEC-2026-0269

This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-vqjp-4c8c-hfgg For more information see the GitHub-hosted security advisory.