NEWSFEVER
Technology worth discussing24 / 7 · RU + EN
Back to feedCybersecurity

Ruby fixes critical ruby2ßhell flaw enabling unauthenticated RCE

The ruby2ßhell disclosure describes a string case-conversion flaw reachable without authentication in default Rails and classic-style Sinatra deployments.

Published: 19 Nov 2026, 10:00 UTC
A red gemstone beside an abstract memory buffer with one tile extending beyond its boundary and a network line approaching it.
Editorial illustration of a Ruby buffer overflow reachable over a network.

Ruby has received fixes for ruby2ßhell, a critical one-byte heap buffer overflow that the disclosure says can lead to remote code execution. Affected releases include Ruby 4.0.0–4.0.9, 3.4.0–3.4.12 and 3.3.0–3.3.13. The corresponding fixes are 4.0.10, 3.4.13 and 3.3.14. The bug also affects the unsupported 3.2 series and earlier releases going back to Ruby 2.4.0.

The flaw occurs during string case conversion in several single-byte ISO-8859 and Windows-125x encodings. Converting ß to uppercase produces SS, but the bounds check does not account for the extra byte. UTF-8 strings follow a different code path and are unaffected. On affected Ruby versions, default Rails and classic-style Sinatra configurations expose the bug over the network without authentication. Other frameworks and plain Rack are not exposed by default, although application code that uppercases incoming strings in legacy encodings may also be vulnerable.

The disclosure lists six self-hosted product releases that bundle an affected Ruby: GitLab 19.6.0, GitHub Enterprise Server 3.22.5, Mastodon 4.7.5, OpenProject 17.9.7, Discourse 2026.10.1 and Chatwoot 4.20.0. Those findings concern the specified releases rather than every possible installation of those products.

The stated remediation is to upgrade Ruby to a fixed release or install the vendor’s corrected release for packaged software. The advisory is tracked as GHSA-34m4-m9fh-gqp5, with a CVE assignment still pending. The authors plan to publish a proof of concept one week after disclosure to give users time to upgrade.

Original source: verialabs.com ↗

Comments on source platforms

Rank is the maximum of the latest discussion counts. These are source metrics.

Hacker News