Wasmtime 48.0.0 before 48.0.8 TOCTOU UDP Send Policy Bypass via wasip3 Sockets
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 48.0.8, 49.0.5, 50.0.1 and 1 more.
Wasmtime's wasmtime-wasi crate 48.0.0 before 48.0.8, 49.0.0 before 49.0.5, and 50.0.0 before 50.0.1 contains a time-of-check/time-of-use race in the wasip3 wasi:sockets udp-socket host implementation that lets guests bypass socket_addr_check send restrictions. A malicious guest can race udp-socket.send against udp-socket.connect to deliver attacker-controlled datagrams to addresses the policy permits only for receiving.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| bytecodealliance | >=48.0.0 <48.0.8, >=49.0.0 <49.0.5, >=50.0.0 <50.0.1 | 48.0.8, 49.0.5, 50.0.1 | |
| cargo: wasmtime-wasi | >=50.0.0 <50.0.1 | 50.0.1 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in wasmtime-wasi (Cargo), strongest first
Embed
A live severity badge for an advisory, README or ticket