The Ruby project has released Ruby 4.0.10, 3.4.13, and 3.3.14 to fix seven memory-safety flaws in the regular-expression engine and in string case-conversion code, The Hacker News reports. The maintainers say proof-of-concept exploits have shown that crafted input can run code for several of the issues. The advisories report no attacks in the wild so far. Whether a given application is exposed depends on how it handles untrusted input, but the bugs sit in Ruby itself, so every app on an affected version carries the code.
If you run Ruby 4.0, 3.4, or 3.3, move to 4.0.10, 3.4.13, or 3.3.14. I am not going to walk through the individual advisories or proof-of-concept details here. The official announcement is the place to confirm the trains you actually ship or host.
My take
Language runtimes are easy to forget when they are bundled inside an app or a container image. If you maintain Ruby services, update the runtime and confirm the running version, not just the one in a lockfile you have not rebuilt lately.
God Bless, and Use the Source!