r/programming • • 11d ago

Ruby2Shell

https://verialabs.com/ruby2shell/
185 Upvotes

45 comments sorted by

View all comments

56

u/RustOnTheEdge 10d ago

I really struggle how you can do remote code execution by writing a single, predetermined byte out of bounds. Can anyone explain that to me? I just don’t see how this is realistically exploitable?

49

u/gwillen 10d ago

It's possible the exploitability is overstated. People are prone to that. It may be exploitable only under hypothetical or unrealistic conditions. You might be surprised, though.

46

u/GoldenShackles 10d ago

Unfortunately this is where AI excels. These types of issues used to be flagged as lower priority issues because on careful examination from expert devs, they couldn't see a way it could be exploited.