RubyGems before 1.8.23 does not verify an SSL certificate, which allows remote attackers to modify a gem during installation via a man-in-the-middle attack.
nvd.nist.gov/vuln/detail/CVE-2012-2126