Zuletzt geprüft
ruby2shell: heap overflow in Ruby string case conversion can lead to remote code execution
A one-byte heap overflow when Ruby changes the case of strings in some single-byte encodings, such as ISO-8859-1 and Windows-1252, may let an attacker run code.
Risiko
The Ruby team is aware of proofs of concept achieving code execution in some scenarios. Veria Labs reports that default Rails and classic Sinatra apps reach the overflow without authentication.
Empfohlene Maßnahme
Upgrade Ruby to 3.3.14, 3.4.13 or 4.0.10 and restart Ruby processes. For self-hosted products that bundle Ruby, install the vendor's update; several had none on November 19, 2026.
- Ruby security advisory (öffnet sich in einem neuen Tab)
- GHSA-34m4-m9fh-gqp5 (öffnet sich in einem neuen Tab)
- Ruby 4.0.10 release (öffnet sich in einem neuen Tab)
- Ruby 3.4.13 release (öffnet sich in einem neuen Tab)
- Ruby 3.3.14 release (öffnet sich in einem neuen Tab)
- discourse_docker: Update Ruby to 4.0.10 (öffnet sich in einem neuen Tab)
- discourse_docker: Bump default base image (öffnet sich in einem neuen Tab)
- Veria Labs: affected self-hosted software (öffnet sich in einem neuen Tab)