Security advisories: multiple vulnerabilities in Regexp and String case conversion | Ruby
Not investment advice. Muhabbit scores how much a story may matter, not which way to trade.
Ruby has released versions 4.0.10, 3.4.13 and 3.3.14 to patch seven vulnerabilities in its regular expression engine and string case-conversion code, with proof-of-concept exploits demonstrating that several can trigger remote code execution. The flaws, tracked by GitHub Security Advisory identifiers because CVE numbers have not yet been assigned, include heap buffer overflows, a double free, integer overflows and out-of-bounds reads in functions such as Regexp#to_s and case-insensitive matching. Affected releases span Ruby 3.3.13 and earlier, 3.4.0 through 3.4.12, and 4.0.0 through 4.0.9, and the maintainers, led by mame, strongly recommend upgrading. The risk is highest for applications that compile attacker-controlled regular expressions or change the case of untrusted strings, where crafted input can corrupt memory or crash processes. Ruby users should watch for the pending CVE assignments and audit any code paths that pass user-supplied patterns into the regexp engine.
Muhabbit's AI wrote this summary in its own words from Hacker News's report. It can get details wrong, so check the source.
Named in this story
Ruby, mame