r/ruby • • Aug 14 '26

Ruby 4.0 Universal RCE Deserialization Gadget Chain - elttam

https://www.elttam.com/blog/ruby-4-0-universal-rce-deserialization-gadget-chain
0 Upvotes

4 comments sorted by

View all comments

Show parent comment

4

u/h0rst_ Aug 14 '26

but the Marshal docs state pretty clearly that it should not be used for untrusted or user controlled input

And have said so for a very long time. If you're vulnerable for this issue, you pretty much deserve to get hacked.

Also: this is not how responsible disclosure works. But I guess the author can now enjoy their five minutes of fame.

1

u/BoardMeeting101 Aug 15 '26

You can’t say that. Just because someone’s vulnerable, doesn’t mean they deserve it. And so it is with Ruby as well