RubyGems Navigation menu

rubygems-pwn 0.1.0

A Proof of Concept (PoC) exploit for an trivial Security vulnerability in how RubyGems converts YAML-dumped gemspecs, back into Ruby code, when installing RubyGems. This ties into the larger design mistake, of storing installed gemspecs as Ruby code; since evaling Ruby code was faster than loading YAML gemspecs. When handling data, it is safer to store it in a static format (YAML, XML, CSV), instead of executable code.

          gem 'rubygems-pwn', '~> 0.1.0'

          gem install rubygems-pwn -v 0.1.0

Total downloads 2,090

For this version 996

Required Ruby Version: None



  1. 0.1.1 - August 26, 2011 (5.5 KB)
  2. 0.1.0 - August 25, 2011 (5 KB)