CVE-2012-2126: Rubygems

Medium severity, CVSS 4.3. EPSS: 1.4% probability of exploitation activity in the next 30 days.

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.

What to do

No fixed version is stated in NVD's or the CNA's structured data. The description says "before 1.8.23"; check the vendor's advisory for the release that fixes it.

Affected products

  • Rubygems Rubygems: up to and including 1.8.22; version 1.8.0 only; version 1.8.1 only; version 1.8.2 only; version 1.8.3 only; version 1.8.4 only; …

Affected packages

Published 2013-10-01. Last modified 2026-06-16.