Security advisories: multiple vulnerabilities in Regexp and String case conversion
Ruby has released security fixes for seven regex and string case-conversion vulnerabilities, including memory-corruption bugs for which the project says proof-of-concept remote code execution exists in some scenarios.
The fixes are in Ruby 4.0.10, 3.4.13 and 3.3.14. Several regex issues require an application to compile attacker-controlled patterns; crafted input to case conversion is a separate concern. Check your distribution’s patched packages or upgrade.