| > I gave in another comment Yeah, sorry about the duplication here, I'm extremely interested in this specific topic. > Now someone finds a png decoder exploit that works against my build. I think this is the part I don't get. Specifically, how would an exploit work within wasm? That is, in the wasm environment is different than in native; the memory is bounds checked, for example. Basically, I 100% agree that some security bugs are logic bugs, but take the above stack smash, for example: that can't happen, in my understanding. Again, modulo interpreter bugs, like any sandboxing technique. > it's hard for me to imagine how a JS PNG decoder would end up with the same sort of attack possible on it since it's parsing binary data into pixel buffers. At worst, you'd crash it. It's hard for me to imagine how wasm is any different than JS here. |
Just in general if I have an arbitrary memory write primitive inside the wasm memory space, how much control over the program can I obtain?