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.
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.
wasmtime-wasi(28 total, 16 outdated, 2 possibly insecure)
| Crate | Required | Latest | Status |
|---|---|---|---|
| anyhow | ^1.0.22 | 1.0.102 | up to date |
| async-trait | ^0.1.71 | 0.1.89 | up to date |
| bitflags | ^2.0 | 2.11.1 | up to date |
| bytes ⚠️ | ^1.4 | 1.11.1 | maybe insecure |
| cap-fs-ext | ^2.0.0 | 4.0.2 | out of date |
| cap-net-ext | ^2.0.0 | 4.0.2 | out of date |
| cap-rand | ^2.0.0 | 4.0.2 | out of date |
| cap-std | ^2.0.0 | 4.0.2 | out of date |
| cap-time-ext | ^2.0.0 | 4.0.2 | out of date |
| fs-set-times | ^0.20.0 | 0.20.3 | up to date |
| futures | ^0.3.27 | 0.3.32 | up to date |
| io-extras | ^0.18.0 | 0.19.0 | out of date |
| io-lifetimes | ^2.0.2 | 3.0.1 | out of date |
| libc | ^0.2.60 | 0.2.186 | up to date |
| log | ^0.4.8 | 0.4.29 | up to date |
| once_cell | ^1.12.0 | 1.21.4 | up to date |
| rustix | ^0.38.21 | 1.1.4 | out of date |
| system-interface | ^0.26.0 | 0.27.3 | out of date |
| thiserror | ^1.0.43 | 2.0.18 | out of date |
| tokio | ^1.26.0 | 1.52.1 | up to date |
| tracing | ^0.1.26 | 0.1.44 | up to date |
| url | ^2.3.1 | 2.5.8 | up to date |
| wasi-cap-std-sync | =17.0.1 | 17.0.3 | out of date |
| wasi-common | =17.0.1 | 44.0.0 | out of date |
| wasi-tokio | =17.0.1 | 17.0.3 | out of date |
| wasmtime ⚠️ | ^17.0.1 | 44.0.0 | out of date |
| wiggle | =17.0.1 | 44.0.0 | out of date |
| windows-sys | ^0.52.0 | 0.61.2 | out of date |
(6 total, 1 outdated, 2 possibly insecure)
| Crate | Required | Latest | Status |
|---|---|---|---|
| libc | ^0.2.60 | 0.2.186 | up to date |
| tempfile | ^3.1.0 | 3.27.0 | up to date |
| test-log | ^0.2 | 0.2.20 | up to date |
| tokio | ^1.26.0 | 1.52.1 | up to date |
| tracing-subscriber ⚠️ | ^0.3.1 | 0.3.23 | maybe insecure |
| wasmtime ⚠️ | ^17.0.1 | 44.0.0 | out of date |
wasmtime: Wasmtime doesn't fully sandbox all the Windows device filenamesThis 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.
wasmtime: Host panic with `fd_renumber` WASIp1 functionThis is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-fm79-3f68-h2fc. For more information see the GitHub-hosted security advisory.
tracing-subscriber: Logging user input may result in poisoning logs with ANSI escape sequencesPrevious 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:
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 memoryThis 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.
bytes: Integer overflow in `BytesMut::reserve`In the unique reclaim path of BytesMut::reserve, the condition
if v_capacity >= new_cap + offset
uses an unchecked addition. When new_cap + offset overflows usize in release builds, this condition may incorrectly pass, causing self.cap to be set to a value that exceeds the actual allocated capacity. Subsequent APIs such as spare_capacity_mut() then trust this corrupted cap value and may create out-of-bounds slices, leading to UB.
This behavior is observable in release builds (integer overflow wraps), whereas debug builds panic due to overflow checks.
use bytes::*;
fn main() {
let mut a = BytesMut::from(&b"hello world"[..]);
let mut b = a.split_off(5);
// Ensure b becomes the unique owner of the backing storage
drop(a);
// Trigger overflow in new_cap + offset inside reserve
b.reserve(usize::MAX - 6);
// This call relies on the corrupted cap and may cause UB & HBO
b.put_u8(b'h');
}
Users of BytesMut::reserve are only affected if integer overflow checks are configured to wrap. When integer overflow is configured to panic, this issue does not apply.
wasmtime: Guest-controlled resource exhaustion in WASI implementationsThis 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` instanceThis 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 valueThis 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 WinchThis 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-64This 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 instancesThis 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`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 stringsThis 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 stringsThis 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 transcodingThis 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 backendThis 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 accessThis 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 CraneliftThis 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.