RubyGems.org fixed a critical vulnerability: maintainers say code execution was achieved in local testing by combining it with a Ruby memory corruption vulnerability
Critical RubyGems Flaw Could Have Let Any Gem Publisher Run Code on the Registry
AI summary
RubyGems.org fixed a critical vulnerability GHSA-7h7w-m82c-x2xg: accounts holding a push API key could inject malicious regular expressions into gem metadata. The maintainers chained it with a Ruby regex compiler memory corruption vulnerability, achieving remote code execution in local testing. A review of the 29,100 gems published between October 5 and November 4 and of telemetry data found no direct evidence of exploitation, and gem users need take no action.