Security advisories: multiple vulnerabilities in Regexp and String case conversion
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
The Ruby team disclosed seven memory-safety flaws in the regular expression engine and in string case conversion, and released Ruby 4.0.10, 3.4.13 and 3.3.14 to fix them. Several involve heap overflows or a double free, and the maintainers say proof-of-concept exploits show remote code execution in some scenarios, mainly where applications compile attacker-controlled patterns or change the case of crafted strings. CVE IDs are still pending. Ruby 3.2 and earlier are end of life and get no fix, so teams on those versions must upgrade.