This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-vc8c-j3xm-xj73 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.
livesplit-core(30 total, 1 outdated)
| Crate | Required | Latest | Status |
|---|---|---|---|
| base64-simd | ^0.8.0 | 0.8.0 | up to date |
| bytemuck | ^1.9.1 | 1.25.0 | up to date |
| bytemuck_derive | ^1.4.1 | 1.10.2 | up to date |
| cfg-if | ^1.0.0 | 1.0.4 | up to date |
| itoa | ^1.0.3 | 1.0.17 | up to date |
| time | ^0.3.47 | 0.3.47 | up to date |
| hashbrown | ^0.16.0 | 0.16.1 | up to date |
| libm | ^0.2.1 | 0.2.16 | up to date |
| memchr | ^2.3.4 | 2.8.0 | up to date |
| simdutf8 | ^0.1.5 | 0.1.5 | up to date |
| serde | ^1.0.186 | 1.0.228 | up to date |
| serde_derive | ^1.0.186 | 1.0.228 | up to date |
| serde_json | ^1.0.60 | 1.0.149 | up to date |
| sha2 | ^0.10.8 | 0.10.9 | up to date |
| slab | ^0.4.9 | 0.4.12 | up to date |
| smallstr | ^0.3.0 | 0.3.1 | up to date |
| snafu | ^0.8.0 | 0.8.9 | up to date |
| image | ^0.25.0 | 0.25.9 | up to date |
| cosmic-text | ^0.14.1 | 0.17.1 | out of date |
| tiny-skia | ^0.12.0 | 0.12.0 | up to date |
| tiny-skia-path | ^0.12.0 | 0.12.0 | up to date |
| foldhash | ^0.2.0 | 0.2.0 | up to date |
| arc-swap | ^1.7.1 | 1.8.1 | up to date |
| log | ^0.4.14 | 0.4.29 | up to date |
| js-sys | ^0.3.55 | 0.3.85 | up to date |
| wasm-bindgen | ^0.2.78 | 0.2.108 | up to date |
| wasm-bindgen-futures | ^0.4.28 | 0.4.58 | up to date |
| web-sys | ^0.3.28 | 0.3.85 | up to date |
| windows-sys | ^0.61.0 | 0.61.2 | up to date |
| libc | ^0.2.101 | 0.2.180 | up to date |
(3 total, 1 outdated)
| Crate | Required | Latest | Status |
|---|---|---|---|
| seahash | ^4.1.0 | 4.1.0 | up to date |
| winreg | ^0.55.0 | 0.55.0 | up to date |
| criterion | ^0.7.0 | 0.8.2 | out of date |
livesplit-hotkey(13 total, 1 outdated)
| Crate | Required | Latest | Status |
|---|---|---|---|
| cfg-if | ^1.0.0 | 1.0.4 | up to date |
| serde | ^1.0.186 | 1.0.228 | up to date |
| bitflags | ^2.0.1 | 2.10.0 | up to date |
| windows-sys | ^0.61.0 | 0.61.2 | up to date |
| crossbeam-channel | ^0.5.6 | 0.5.15 | up to date |
| evdev | ^0.13.1 | 0.13.2 | up to date |
| mio | ^1.0.2 | 1.1.1 | up to date |
| nix | ^0.30.1 | 0.31.1 | out of date |
| promising-future | ^0.2.4 | 0.2.4 | up to date |
| x11-dl | ^2.20.0 | 2.21.0 | up to date |
| wasm-bindgen | ^0.2.54 | 0.2.108 | up to date |
| web-sys | ^0.3.28 | 0.3.85 | up to date |
| js-sys | ^0.3.28 | 0.3.85 | up to date |
livesplit-title-abbreviationsNo external dependencies! 🙌
livesplit-auto-splitting(17 total, 3 outdated, 2 possibly insecure)
| Crate | Required | Latest | Status |
|---|---|---|---|
| anyhow | ^1.0.45 | 1.0.101 | up to date |
| arc-swap | ^1.6.0 | 1.8.1 | up to date |
| async-trait | ^0.1.73 | 0.1.89 | up to date |
| bstr | ^1.10.0 | 1.12.1 | up to date |
| bytemuck | ^1.14.0 | 1.25.0 | up to date |
| bytes ⚠️ | ^1.6.1 | 1.11.1 | maybe insecure |
| indexmap | ^2.0.2 | 2.13.0 | up to date |
| proc-maps | ^0.4.0 | 0.4.0 | up to date |
| read-process-memory | ^0.1.4 | 0.1.6 | up to date |
| slotmap | ^1.0.2 | 1.1.1 | up to date |
| snafu | ^0.8.0 | 0.8.9 | up to date |
| sysinfo | ^0.37.0 | 0.38.1 | out of date |
| time | ^0.3.3 | 0.3.47 | up to date |
| tokio | ^1.47.1 | 1.49.0 | up to date |
| wasmtime ⚠️ | ^36.0.2 | 41.0.3 | out of date |
| wasmtime-wasi | ^36.0.2 | 41.0.3 | out of date |
| windows-sys | ^0.61.0 | 0.61.2 | up to date |
livesplit-core-capi(6 total, all up-to-date)
| Crate | Required | Latest | Status |
|---|---|---|---|
| serde_json | ^1.0.8 | 1.0.149 | up to date |
| time | ^0.3.4 | 0.3.47 | up to date |
| simdutf8 | ^0.1.5 | 0.1.5 | up to date |
| wasm-bindgen | ^0.2.78 | 0.2.108 | up to date |
| wasm-bindgen-futures | ^0.4.28 | 0.4.58 | up to date |
| web-sys | ^0.3.28 | 0.3.85 | up to date |
bindings(3 total, all up-to-date)
| Crate | Required | Latest | Status |
|---|---|---|---|
| heck | ^0.5.0 | 0.5.0 | up to date |
| clap | ^4.0.2 | 4.5.57 | up to date |
| syn | ^2.0.0 | 2.0.114 | up to date |
wasmtime: Wasmtime segfault or unused out-of-sandbox load with `f64.copysign` operator on x86-64This is an entry in the RustSec database for the Wasmtime security advisory located at https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-vc8c-j3xm-xj73 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.