Skip to content
RedCVE

Regex: latest news and vulnerabilities

1 stories

Monday 30 November
VulnerabilitiesCritical

RubyGems.org fixes critical flaw that could allow code execution on the registry

RubyGems.org, the central registry for Ruby gems, has patched a critical flaw in its gem upload process. Any account holding a push-capable API key could inject an attacker-controlled regular expression into gem metadata. According to the registry's maintainers, in local testing they chained this with a memory corruption bug in Ruby's regexp compiler and reached remote code execution. The source text is a short summary only, so details of affected versions and exploitation in the wild are not stated. Developers who rely on the registry should watch for official guidance.

1 source · The Hacker News
  • Any push-capable API key could inject a malicious regex into gem metadata
  • Chained with a Ruby regexp compiler memory corruption bug in local tests
  • Maintainers report achieving remote code execution on the registry