Ruby Releases Security Patches for Regex Engine Bugs Linked to GitLab RCE Flaws
Ruby’s latest update addresses three regex engine bugs that underpinned four critical remote code execution vulnerabilities previously remedied by GitLab.

Ruby has issued new patches—versions 4.0.9, 3.4.12 and 3.3.13—to address three bugs in Onigmo, the regular expression engine built into the language.
The same bugs were the root of four critical security flaws that prompted GitLab to release its own patches over the past month.
A specially crafted pattern can corrupt memory while Ruby compiles it, creating an opportunity for code execution on affected servers, a weakness that GitLab recently encountered.
The updates aim to eliminate these vulnerabilities and prevent future exploitation of the Onigmo engine.
Sources1
Reporting and evidence linked in this story.
Claim connections3
Ruby released Ruby 4.0.9, 3.4.12, and 3.3.13 to fix three bugs in Onigmo.
confirmedConnected sources1
The bugs lie behind four critical security flaws that GitLab patched over the past month.
confirmedConnected sources1
GitLab found that a specially crafted pattern could corrupt memory while Ruby compiles it, potentially leading to code execution on its own servers.
confirmed