Menu

1 / 5

Ruby language releases new versions to fix serious security flaws

DEV Community: ruby·Hacks.gr·3 days ago
#wfwNQz5M
#devtoruby#devto#dev#gitlab#versions
Reading 0:00
15s threshold

Ruby versions 4.0.9, 3.4.12, and 3.3.13 address three memory corruption bugs in the Onigmo regular expression engine.

Developers handling untrusted input in regex patterns should review the updates.

Which programs are affected?

According to the official update, the problem is not limited to GitLab. Any application that reads text from an external source and converts it into a text search rule is at risk, as attackers could exploit this process to execute code on the systems hosting the application. In contrast, programs that use exclusively rules written by their creators are not affected.

Older versions 3.2 and below will not receive any updates, as their support ended in April 2026. At the same time, it was emphasized that measures such as limiting execution time or limiting text length cannot prevent this specific problem.

How the problems were revealed

GitLab published four security reports between September 23 and October 21, each patched with the inclusion of patched versions of Ruby.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.