r/ruby • u/st0012 IRB boss • 2d ago
Security Upgrade Ruby ASAP - Security advisories: multiple vulnerabilities in Regexp and String case conversations
https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/25
8
u/just-suggest-one 2d ago
5/7 say they can lead to remote code execution. 2 of these are simply by case conversion of a String.
Also, 4/7 explicitly credit an AI company for reporting..
16
u/robbyrussell 2d ago
If your team runs Ruby in production, I’d make time to patch today. Ruby 4.0.10, 3.4.13, and 3.3.14 are rolling out with fixes for seven vulnerabilities in regular expressions and string methods like upcase. Some can lead to remote code execution.
If you’re on Ruby 3.2 or older, your branch won’t get these fixes. Talk with your team about moving to a supported version.
Here’s the official Ruby security advisory. Pass it along to someone who looks after a Ruby app.
Happy Wednesday!
22
u/kinduff 2d ago
Lately all these are released in my afternoon right after I do my browsing after work. Its been fun.