Security · High impactFan score 43 · Tier B
Critical RubyGems Flaw Could Have Let Any Gem Publisher Run Code on the Registry
The Hacker News ·
The Brief
- RubyGems.org fixed a flaw that let any account with a push-capable API key feed an attacker-controlled regular expression into gem upload metadata.
- The Hacker News reports the flaw is critical and that maintainers chained it in local testing; the full chain is not in the available snippet.
- No exploitation in the wild is reported in the sources.
Why it matters
Gem publishers hold push-capable API keys, so this flaw widened the set of accounts that could reach registry processing. The fix removes that risk, but the sources do not describe the full attack chain.
Who’s affected
- RubyGems.org gem publishers
- Ruby developers who install gems from RubyGems.org
RubyGems.org, the central registry for the Ruby community's gems, has fixed a critical flaw that let any account with a push-capable API key feed an attacker-controlled regular expression into the metadata of a gem upload. In local testing, the registry's maintainers chained the…