Skip to content
Fencer Intel
medium 5.8

CVE-2012-2125 json

RubyGems HTTPS to HTTP redirect

published 2013-10-01 13 y ago modified 2026-06-16 4 mo ago also GHSA-228f-g3h7-3fj3 , EUVD-2022-1878

cvss
5.8
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.5%
EPSS 2.5% chance of exploitation in 30 days, percentile 84%
public exploits
0
none known

Summary

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.

Patch / fix

  • rubygems rubygems-update 1.8.23
  • rubygems Debian 14, Debian 13, Debian 12 1.8.24-1

debian advisories DEBIAN-CVE-2012-2125

  • cumin enterprise mrg 2 0.1.5787-4.el6
  • rubygems enterprise mrg 2 1.8.23.2-1.el6
  • rubygems RHEL 6 1.3.7-4.el6_4
  • rubygems openshift 1.2 1.8.24-4.el6op

red hat advisories RHSA-2013:1852RHSA-2013:1441RHSA-2013:1203

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2012-2125 updated cvss 4.0

rubygems: Two security fixes in v1.8.23

  • Red Hat Subscription Asset Manager rubygems
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Desktop Optional (v. 6) rubygems 1.3.7-4.el6_4 Red Hat Enterprise Linux HPC Node Optional (v. 6) rubygems 1.3.7-4.el6_4 Red Hat Enterprise Linux Server Optional (v. 6) rubygems 1.3.7-4.el6_4 Red Hat Enterprise Linux Workstation Optional (v. 6) rubygems 1.3.7-4.el6_4
    fixed: vendor fix RHSA-2013:1441
  • Red Hat MRG Grid Execute Node for RHEL 6 ComputeNode v.2 rubygems 1.8.23.2-1.el6 Red Hat MRG Grid for RHEL 6 Server v.2 cumin 0.1.5787-4.el6, rubygems 1.8.23.2-1.el6 Red Hat MRG Management for RHEL 6 Server v.2 cumin 0.1.5787-4.el6
    fixed: vendor fix RHSA-2013:1852
  • Red Hat OpenShift Enterprise Node rubygems 1.8.24-4.el6op Red Hat RHOSE Client 1.2 rubygems 1.8.24-4.el6op Red Hat RHOSE Infrastructure 1.2 rubygems 1.8.24-4.el6op
    fixed: vendor fix RHSA-2013:1203

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

2.47% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 2.0 5.8 AV:N/AC:M/Au:N/C:P/I:P/A:N

Affected packages

ecosystem package affected fixed in
rubygems rubygems-update
<1.8.23
1.8.23

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.