{"type":"post","id":"ruby2shell-lets-attackers-corrupt-memory-in-default-rails-81696e","slug":"ruby2shell-lets-attackers-corrupt-memory-in-default-rails-81696e","title":"ruby2shell lets attackers corrupt memory in default Rails and Sinatra apps without logging in.","description":"Cloudflare says its WAF now blocks requests targeting ruby2shell, a critical Ruby heap-buffer-overflow vulnerability that can expose default Rails and classic Sinatra applications before authentication.","retrieval_nugget":"Cloudflare says its WAF now blocks requests targeting ruby2shell, a critical Ruby heap-buffer-overflow vulnerability that can expose default Rails and classic Sinatra applications before authentication. The rules provide a temporary compensating control, but only upgrading Ruby closes the underlying flaw—and only for traffic that reaches the application through the WAF.","published_at":"2026-11-20","updated_at":"2026-11-20","record_date":"2026-11-20","date_kind":"published_at","topics":["memory"],"entities":["Cloudflare","Cloudflare WAF","Ruby","Ruby on Rails","Sinatra","Veria Labs","Rack"],"related_patterns":[],"novelty_label":"new_fact","what_changed":"Cloudflare’s WAF guidance now addresses ruby2shell, a vulnerability affecting default Rails and Sinatra apps, extending its protections to Ruby beyond previously covered PHP and Java flaws.","prior_refs":["https://newruntime.com/posts/cloudflare-deploys-protections-against-php2shell-vulnerability-9a828a/"],"source_url":"https://blog.cloudflare.com/ruby2shell-waf-protection","source_urls":["https://blog.cloudflare.com/ruby2shell-waf-protection"],"schema_version":"newruntime-agent-readable-v0.2","stable_id":"post:ruby2shell-lets-attackers-corrupt-memory-in-default-rails-81696e","status":"published","visuals":[],"editor":{"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]},"routes":{"html":"https://newruntime.com/posts/ruby2shell-lets-attackers-corrupt-memory-in-default-rails-81696e/","markdown":"https://newruntime.com/posts/ruby2shell-lets-attackers-corrupt-memory-in-default-rails-81696e.md","json":"https://newruntime.com/posts/ruby2shell-lets-attackers-corrupt-memory-in-default-rails-81696e.json"},"markdown_url":"https://newruntime.com/posts/ruby2shell-lets-attackers-corrupt-memory-in-default-rails-81696e.md","next_reads":[{"type":"topic","path":"/topics/memory/","url":"https://newruntime.com/topics/memory/","title":"Memory","reason":"Explore the memory topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/memory.md","json_url":"https://newruntime.com/topics/memory.json"},{"type":"collection","path":"/posts/","url":"https://newruntime.com/posts/","title":"Field Notes","reason":"Open the latest editorial analysis.","media_type":"text/html","json_url":"https://newruntime.com/posts.json"},{"type":"collection","path":"/sources/","url":"https://newruntime.com/sources/","title":"Sources","reason":"See the original sources this archive cites.","media_type":"text/html"}]}
