← All advisories
Critical RubyGems.org flaw let gem publishers achieve remote code execution on the registry
RubyGems.org fixed a critical flaw that let any account with a push-capable API key supply an attacker-controlled regular expression in gem upload metadata. Maintainers chained it with a memory corruption bug in Ruby's regexp compiler and reached remote code execution in local testing. The registry is patched and no exploitation was reported in the article; Ruby developers should rotate API keys if concerned and watch for registry advisories.
Why High
RCE on the central Ruby package registry could enable a supply chain compromise, but it required a push-capable API key and no exploitation is reported.
Categories
- Supply Chain & Dependencies
- Web Technologies
Affected products
- RubyGems RubyGems.org
- Ruby Regexp compiler
Sources
Timeline
- Picked up by Early Warning