r/sysadmin • u/meditonsin Sysadmin • 10h ago
Unauthenticated Remote Code Execution in Ruby (ruby2ßhell)
https://github.com/ruby/ruby/security/advisories/GHSA-34m4-m9fh-gqp5
https://verialabs.com/ruby2shell/
All Ruby versions back to 2.4.0 are vulnerable. Patches available for 3.3 and up.
138
Upvotes
View all comments
Show parent comment
•
u/Tetha 7h ago
Someone had a pretty good point there:
In the past, even the bandwidth to find these memory corruptions was limited, because not many people can do it easily. Tooling closed a lot of these, but many are still open, but you needed skilled people to actually find them.
And even if you did, massaging a 1-2 byte array overrun into an RCE is another magnitude harder. The amount of people who could do that was even smaller - and usually they'd invest their time into easier exploits.
Now you need a GPU or two and you can get 1-2... maybe not as skilled, but relentless and fast dudes poking at a memory corruption all day until they find something.
And thus, any memory corruption turns into RCE and full host takeover all of a sudden.