Re:Heap-based buffer overflow in Sudo
by roblabla on Tuesday January 26, 2021 @07:33PM
(#25922774)
Compile it for wasm and use a wasm runtime built in a memory-safe language? I believe some wasm runtimes allow for making raw syscalls.
[ Parent
| on HN ]
It would not stop these sort of exploits if I’m not mistaken (ok, it could help since rewriting return addresses is not possible I think), but memory errors that cause logic bugs are still possible.