09 Sep 2013
by Eric Hodel
RubyGems 2.0.8 includes a bug fix and a security update to fix CVE-2013-4287
To update to the latest RubyGems you can run:
gem update --system
To install RubyGems by hand see the Download RubyGems page.
If you installed 2.0.1 and are unable to upgrade please follow the how to upgrade/downgrade RubyGems instructions.
- RubyGems 2.0.7 and earlier are vulnerable to excessive CPU usage due to a backtracking in Gem::Version validation. See CVE-2013-4287 for full details including vulnerable APIs. Fixed versions include 2.0.8, 1.8.26 and 126.96.36.199 (for Ruby 1.9.3). Issue #626 by Damir Sharipov.
- Fixed Gem.clear_paths when Security is defined at top-level. Pull request #625 by elarkin