News for hackers. Stuff that matters.
Re:Ruby2ßhell: Pre-authentication RCE on stock Rails by K0nserv on Thursday November 19, 2026 @07:54AM (#50559493)
It looks like the original author did actually try to account for this by allocating 20 more bytes than the input length.

From the blog post:

    The output buffer is allocated as the input length plus 20 bytes. Each ß adds one byte to the output, so an input with 21 of them overflows the buffer by one byte.

There are no comments on this comment yet.