Ruby Releases Security Patches for 7 Memory Flaws, 5 May Allow RCE
Cybersecurity and privacy
The Ruby team released security updates on November 18 addressing 7 memory safety vulnerabilities. Officials noted that 5 have PoCs capable of triggering remote code execution, affecting regular expressions and case mapping. Fixes are available in 4.0.10, 3.4.13, and 3.3.14.
The Ruby maintenance team released security updates on November 18 to fix seven memory safety vulnerabilities. Among these, three are rated Critical, three High, and one Moderate. The team indicated that five vulnerabilities have proof-of-concept demonstrations capable of triggering remote code execution (RCE) under specific conditions. According to the advisory, the flaws exist in regular expression compilation, matching, and conversion, as well as string case mapping, involving heap buffer overflow, double-free, integer overflow, and out-of-bounds read issues. Remote exploitation depends on how applications handle external input, and risks may persist even when predefined regular expressions process specially crafted input strings. The Ruby team has not indicated whether these flaws have been actively exploited in the wild. Patches have been issued in Ruby versions 4.0.10, 3.4.13, and 3.3.14. Users running end-of-life versions such as Ruby 3.2 and earlier will not receive updates and must upgrade to supported branches.
Key takeaways
- Ruby patched 7 memory vulnerabilities, with 3 Critical and 3 High; 5 have PoCs that can trigger remote code execution.
- The flaws affect regexp handling and string case conversion, spanning heap overflows, double-free, and integer overflows.
- Triggering exploits depends on external input handling; official advisories have not confirmed active in-the-wild attacks.
- Fixes are available in versions 4.0.10, 3.4.13, and 3.3.14, while unsupported 3.2 and older releases receive no patch.
Source:iThome Read the original ↗
Prepared, checked and automatically published by AI; not individually reviewed by a human. Translation checked by AI.