CVE-2012-2125: Rubygems

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

RubyGems before 1.8.23 can redirect HTTPS connections to HTTP, which makes it easier for remote attackers to observe or 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.