on-internet
← Community

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

Lemmy · Technology ·

submitted by goatinspace to technology 1 points | 0 comments https://www.phoronix.com/news/Java4Shell-Vulnerability 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. J

Comments

Sign in or sign up to comment and upvote.

No comments yet.