# Ruby2Shell: 167,577 Ruby web apps, 18,073 of them GitLab

Ruby2Shell needs a new Ruby, and products that bundle one wait on their vendor: Web IP saw 167,577 Ruby web apps through November 19, 18,073 of them GitLab.

Ruby 3.3.14, 3.4.13 and 4.0.10 came out on November 18 ([Ruby's advisory](https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/)). One of the flaws they fix, CVE-2026-132825 (GHSA-34m4-m9fh-gqp5 in Ruby's advisory), is a one-byte heap overflow when Ruby changes the case of a string in a legacy single-byte encoding. Veria Labs, which found it independently, calls it Ruby2Shell: it's in every Ruby since 2.4.0, it's reachable without authentication in stock Rails and classic-style Sinatra apps, and Veria plans to publish a proof of concept that runs code on stock Rails on November 25, or later if major vendors haven't shipped a fix by then ([Veria's write-up](https://verialabs.com/ruby2shell/)). Ruby 3.2 and older are past their end of life and get no fix.

For your own app the fix is a new Ruby. A product that ships its own Ruby, as GitLab's Omnibus package or a product's Docker image does, waits for its vendor's release.

[Web IP](https://internetdata.io/databases/web-ip) records the page title, Server header, redirect, cookie names and certificate names each address answers with on ports 443 and 80. Of the addresses it last saw from November 3 to November 19, 167,577 showed a Ruby web app.

## Ruby web apps by product

| What answered | Addresses | Fixed release on November 20 |
|---|---:|---|
| GitLab | 18,073 | 19.6.1, 19.5.8, 19.4.10 |
| Chatwoot | 5,428 | none |
| OpenProject | 711 | 17.9.8, 17.8.3 |
| GitHub Enterprise Server | 389 | none |
| Discourse | 379 | base image 2.0.20261119-0203 |
| Mastodon | 320 | 4.7.6, 4.6.12, 4.5.22, 4.4.29 |
| Greenlight (BigBlueButton's front end) | 3,153 | not in Veria's table |
| Redmine | 2,868 | not in Veria's table |
| Zammad | 661 | not in Veria's table |
| RG Nets rXg | 33,209 | not in Veria's table |
| Other apps redirecting to Devise's `/users/sign_in` | 37,764 | a fixed Ruby |
| Other apps setting a Rails-style session cookie | 41,978 | a fixed Ruby |
| A Ruby app server in the Server header | 21,872 | a fixed Ruby |
| `Ruby/` and a version in the Server header | 772 | a fixed Ruby |

Fixed releases are from Veria's table, updated at 06:30 UTC on November 20.

## GitLab tagged its fix on November 19

GitLab tagged 19.6.1, 19.5.8 and 19.4.10 late on November 19 UTC, each bundling Ruby 3.3.14 where 19.6.0 had 3.3.13 (`config/software_versions.yml` in [omnibus-gitlab](https://gitlab.com/gitlab-org/omnibus-gitlab)), and its Docker images were out by 06:15 UTC on November 20. Veria lists every GitLab up to 19.6.0 as affected, all 18,073 were seen before the fix, and nothing they answer with shows a version.

14,164 of them (78.4%) were on hosting networks, 2,558 on ISP networks and 859 on education networks, led by Germany's research network DFN (AS680) with 148, France's Renater with 41, and SWITCH and BelWü (AS553) with 35 each. By country, Russia had 3,385, the US 2,692, Germany 2,212, France 1,647 and China 1,203. By network, Amazon's AS16509 had 2,239, Yandex Cloud's AS200350 1,137, OVH's AS16276 1,114, DigitalOcean's AS14061 1,083, Alibaba's AS37963 753 and Amazon's AS14618 540. 999 of Russia's carried certificates under `gitlab.yandexcloud.net`, Yandex Cloud's managed GitLab.

## Chatwoot and GitHub Enterprise Server had no fix on November 20

Chatwoot's newest release, 4.20.0 from November 18, shipped Ruby 3.4.4. Its development branch [moved to 3.4.13](https://github.com/chatwoot/chatwoot/pull/16651) on November 19, in no release by November 20. Of its 5,428 addresses, 1,853 were in the US and 611 in Brazil, and Amazon's AS16509 held 687, DigitalOcean's AS14061 562, Hostinger's AS47583 482 and Amazon's AS14618 419.

GitHub Enterprise Server's newest release was 3.22.5 from November 17, and Veria lists it and every earlier one as affected. Of its 389 addresses, 207 showed GitHub Enterprise's preflight check page, 131 said they were in replication mode, 42 were down for maintenance and 4 showed a sign-in page; 282 carried certificates under `ghe-test.com` or `ghe-test.net`.

## 344 servers named an affected Ruby past its end of life

Outside the rows above, 772 servers had `Ruby/` and a version in their Server header. 735 of them named their Ruby, 587 through WEBrick, the server Ruby shipped with until 3.0; the other 37 were Webmachine-Ruby, which gives its own version. 350 named a Ruby older than 2.4, which predates the bug, 141 of them 1.8.7. 344 named 2.4 to 3.2, which Ruby no longer fixes, and 41 named 3.3 or later, none of them a fixed version. A distribution's build, such as Ubuntu 22.04's 3.0.2 or Debian 12's 3.1.2, can carry a fix its version doesn't show.

## RG Nets' rXg

33,209 addresses set `_rxg_console_session`, the cookie of RG Nets' rXg, a broadband gateway whose captive portal runs on Ruby on Rails ([RG Nets' manual](https://rgnets.com/manual/portal_customization)). 33,049 were in the US, led by CenturyLink's AS393789 (10,602), Hotwire's AS23089 (8,036), Level 3's AS3356 (4,536) and CenturyLink's AS209 (1,898), and 31,448 of the 33,209 redirected to a sign-up or portal page. We found nothing from RG Nets on Ruby2Shell by November 20.

## What the count can't see

Web IP sees what an address answers with no server name on ports 443 and 80. A GitLab behind a CDN, served only under its hostname or on another port isn't in it, and one whose redirect and certificate don't name it counts with Devise, so each product's count leaves those out. A fingerprint names a product, not its version: outside GitLab, Chatwoot, GitHub Enterprise Server and the `Ruby/` row, it says Ruby runs there, not which Ruby. 20,343 of the 21,872 in the app-server row named Passenger, which also serves Node.js and Python apps.

## What to do

Upgrade Ruby to 3.3.14, 3.4.13 or 4.0.10, or your distribution's fixed package, and move off 3.2 or older. Updating gems doesn't help, since the bug is in the interpreter. Upgrade GitLab to 19.6.1, 19.5.8 or 19.4.10, and Mastodon, OpenProject and Discourse to the releases in the table. Until Chatwoot and GitHub Enterprise Server ship theirs, keep them off the open internet, behind a VPN or an allowlist.

To find GitLab, Chatwoot and GitHub Enterprise Server in Web IP, filter its columns on the same signals:

```sql
last_seen >= DATE '2026-11-03'
AND (
    regexp_like(title, '(?i)gitlab|chatwoot|github enterprise')
    OR regexp_like(set_cookie_names, '(^| )(_gitlab_session|experimentation_subject_id|_chatwoot_session|_gh_ent|_gh_manage)( |$)')
    OR (
        location LIKE '%/users/sign_in'
        AND lower(concat_ws(' ', location, cert_subject_cn, cert_sans)) LIKE '%gitlab%'
    )
)
```

[IP ASN](https://internetdata.io/databases/ip-asn) gives each match's network and [ASN](https://internetdata.io/databases/asn) that network's type. The same count for PHP and nginx: [PHP2Shell](https://internetdata.io/blog/php2shell) and [NGINX2Root](https://internetdata.io/blog/nginx2root).

## How we counted

One row per address: Web IP's newest on ports 443 and 80, last seen from November 3 to 19 UTC. Each address takes one family, from its title, cookie names, redirect, Server header and certificate names: the named products first, then a Devise redirect, `Ruby/` in the Server header, a Ruby app server, and a Rails-style cookie last. GitLab is a title saying GitLab, a `_gitlab_session` or `experimentation_subject_id` cookie, or a redirect to `/users/sign_in` on an address whose redirect or certificate names `gitlab`. A Rails-style cookie is `_<app>_session`, `_session_id` or `rack.session`. Two fleets came out before counting: one GitLab certificate on 2,025 addresses, and one identical GitLab merge-request page on 1,374 addresses in one /16. Countries are IP Country's, networks IP ASN's with their type from ASN.

## Getting access

Web IP is a gzipped CSV download, and [its docs](https://docs.internetdata.io/database/web-ip) list the columns. To license it, see [pricing](https://internetdata.io/pricing) or [talk to us](https://internetdata.io/contact).

