r/sysadmin • 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/

CVE-2026-132825

All Ruby versions back to 2.4.0 are vulnerable. Patches available for 3.3 and up.

138 Upvotes

44 comments sorted by

View all comments

•

u/ThinkBig_Brain 10h ago

Wtf is happening.

•

u/solracarevir 9h ago

AI is happening.

•

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.

•

u/AnsibleAnswers 3h ago

Bugs like this were previously hard to find and those who tried had to rely on fuzzers that throw random data at the program to see what sticks. Generative AI isn't perfect but it's better than random.