≈ the.bay.news

Java4Shell Vulnerability For OpenJDK Java That Can Lead To Remote Code Execution

lemmy.world
Java4Shell Vulnerability For OpenJDK Java That Can Lead To Remote Code Execution
To speed up Base64 decoding, OpenJDK uses specialized AVX-512 VBMI instructions on supported x86-64 processors. The bug sits in the hand-rolled assembly code that handles the final few characters. For the 65-character input above, OpenJDK allocates a 50-byte result array. After decoding the first 64 characters, the routine mishandles the stray = and calculates a negative output length. That invalid length becomes a full 64-byte write, sending 62 bytes past the end of the array. Java eventually rejects the input, but by then neighboring objects may already be corrupted.

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.