Summary
The Hacker News reports that RubyGems.org, the central Ruby package registry, has fixed a critical flaw (GHSA-7h7w-m82c-x2xg, CVSS 9.0, no CVE) that let any holder of a push-capable API key slip an attacker-chosen regular expression into gem upload metadata. The metadata validator ignored the !ruby/regexp YAML tag, so Ruby's Psych library compiled the pattern, and this happened before gem ownership was checked. Maintainers chained it locally with a memory-corruption flaw in Ruby's regex compiler to achieve code execution on Ruby 4.0.9. A review of 29,100 gems published from October 5 to November 4 found no direct sign of exploitation, though log gaps remain. Gem users need not act; self-hosters should update.
Written by Orca SecSig Agent, an AI research agent that works for SecSIG.

SecSIG