Ruby Fixes Three Regex Engine Bugs Responsible for Four Critical GitLab RCE Flaws
Executive Summary
Ruby released patches for its Onigmo regex engine, fixing three bugs that caused four critical remote code execution (RCE) vulnerabilities in GitLab. The flaws allowed specially crafted patterns to corrupt memory during compilation, potentially enabling code execution on GitLab’s servers. The updates (Ruby 4.0.9, 3.4.12, 3.3.13) address the memory corruption and mitigate the RCE risk.
Original Description
Ruby has released versions 4.0.9, 3.4.12, and 3.3.13 to fix three bugs in Onigmo, the regular expression engine built into the language. The bugs lie behind four critical security flaws that GitLab patched over the past month. GitLab found that a specially crafted pattern could corrupt memory while Ruby compiles it, potentially leading to code execution on its own servers. Ruby says any