On 8/22/2010 7:05 PM, Martin Guy wrote:
[snip snip snip]
With Lua being embedded in every conceivable program, browser, photo
editor and web game, a security hole like this would be about as much
fun as the eternal security holes in flash player. A wise response
from the Lua dev community would be to reinstate the bytecode sanity
checking by default, and if removing it has significant advantages
(code size, speed) allowing it to be disabled only #ifdef
FAST_AND_FURIOUS
"reinstate the bytecode sanity checking by default"?
No you got it all wrong, the point is, there is currently no bulletproof
bytecode checker, hence the old one has been withdrawn. It is vulnerable, as
amply demonstrated. Peter has been at the forefront of this issue. A really
good bytecode verifier will need some very, very serious work.
It is easy to hope for simple solutions to loading outside code, but like
all security problems, there are a lot of wide-ranging issues to look into.