Someone please ELI5 why are these bs intrinsics (BASE64, CRC32, SHA, Adler32) even allowed? I know I know, there are like 300 intrinsics, I'm referring only to the untrusted ones. These JIT assembly tricks on RWX pages... they defy the entire point of having a VM security-wise. Someone please create -XX:UseUntrustedStuff encompassing all the new untested stuff until proper verification is conducted on them. This RCE should also push the need for AOT plus static binary verification whenever possible.
I don't think there's anything inherently unsafe about the intrinsics used here, it's just that using them involves hand written assembly, and that's risky because humans
View all comments
-10
u/st4rdr0id 15d ago
Someone please ELI5 why are these bs intrinsics (BASE64, CRC32, SHA, Adler32) even allowed? I know I know, there are like 300 intrinsics, I'm referring only to the untrusted ones. These JIT assembly tricks on RWX pages... they defy the entire point of having a VM security-wise. Someone please create
-XX:UseUntrustedStuffencompassing all the new untested stuff until proper verification is conducted on them. This RCE should also push the need for AOT plus static binary verification whenever possible.