Post

ruby2ßhell

A follow-up to Ruby’s seven security fixes details how a one-byte overflow in legacy-encoding case conversion can be reached before authentication in default Rails and classic Sinatra deployments, according to the researchers.

Upgrade to Ruby 3.3.14, 3.4.13 or 4.0.10, or install your vendor’s patched package. The researchers say UTF-8 takes a different, unaffected code path, and list affected bundled applications; verify their latest vendor updates. Their exploit proof of concept is planned for later, not yet published.

The HN discussion examines the role of memory-unsafe implementation code inside otherwise memory-safe language runtimes.