EXPLORINEER
en

DE — heise online

ruby2ßhell: Remote Code Execution via 21 ß

Security1 min read


A serious bug in the Ruby programming language, called ruby2ßhell, can let attackers take control of servers. Ruby has released fixes, and server operators should update quickly.

What happened

Security researchers at Veria Labs found a critical flaw in Ruby. The bug is about the German letter ß. When a program converts text to capital letters, ß becomes SS, so the text gets one character longer. Ruby did not reserve enough memory for this extra space. An attacker can use this to write data outside the reserved area. This is not a full attack yet, but it can be a first step toward running code on a server remotely.

Key facts

  • Ruby has reserved memory equal to the input length plus 20 bytes.
  • An attack can start when a text has 21 or more ß characters.
  • The flaw affects text in ISO-8859 or Windows-125x character sets.
  • Fixed versions: Ruby 3.3.14, 3.4.13 and 4.0.10.
  • No CVE number has been given yet, but Ruby has published a security advisory.

Why the name?

The bug got its name from php2shell, another recent bug that affected website operators. Ruby is a programming language. Many web tools are built with it, including Rails and Sinatra frameworks, which are tools that help developers build websites faster.

Why it matters

Many popular apps written in Ruby can be used on your own server. These include GitLab, GitHub Enterprise, Mastodon and OpenProject. If the bug is used against them, an attacker could gain control of the server. Anyone who runs these tools should install the update as soon as possible.

What to watch

  • Veria Labs has said it will release proof-of-concept code for common Ruby software in one week.
  • Watch for a CVE number, which will give the bug an official ID.
  • Check whether your Ruby apps use the affected character sets and functions.

Glossary

Ruby
A programming language used to build websites and web apps.
Veria Labs
A security research company that tests systems for weak spots and found this bug.
Rails
A tool kit written in Ruby that helps developers build websites faster.
GitLab
Software for storing and managing computer code, which can be run on your own server.
CVE
An official ID number given to a known security problem so people can track it.

Ad

Add 150 words. Learn 10 a day.

Dicter word books send only the words you learn to your review notes.

Securityheise online

PHP fixes 17 security vulnerabilities, four allow arbitrary code execution

Four weeks after the "php2shell" vulnerability furor, the PHP developers have released updates for four version branches that fix 17 security flaws, four of them critical and potentially enabling remote code execution. Admins are urged to update their PHP installations, since the fixed versions 8.2.36, 8.3.37, 8.4.28 and 8.5.13 are available from the PHP project page and through Linux distributions such as Debian.

SecurityArs Technica

How to tell a cyberattack from a plain old outage

A cluster of tech outages in the US over four business days, including Microsoft Exchange, FAA, JPMorgan Chase, United Airlines, and NSA networks, fueled speculation of cyberattacks. However, there is no evidence linking these failures or showing hackers caused them. Cybersecurity analysts say most digital breakdowns stem from the complexity of IT systems rather than malicious intent, as Cloudflare CEO Matthew Prince notes.

Securityheise online

BSI Raises Threat Assessment to "Tense to Critical"

Germany's Federal Office for Information Security (BSI) has rated the IT threat situation "tense to critical" for the first time since 2023, and the outlook as "critical." Vulnerabilities are now disclosed at a rate of about 160 per day, 35 percent more than in the previous reporting period, and the time between disclosure and first exploitation fell to about 8 days in Q2 2026. The BSI plans a new "Cyberindex" to measure threat changes.

SecurityThe Register

Cyberattack on service provider exposes payee data at 40 Irish credit unions

An attack on software provider Wellington IT exposed saved payee details, including names, IBANs, and sort codes, held by around 40 Irish credit unions. Minister Robert Troy criticized the company's delay in notifying the affected institutions, saying the breach occurred in October and most were only informed in recent days. Credit unions said login credentials and passwords were unaffected and the exposed data does not grant access to member accounts or funds.