Skip to content
Fencer Intel
medium 4.3

CVE-2012-2126 json

RubyGems does not verify SSL certificate

published 2013-10-01 13 y ago modified 2026-06-16 4 mo ago also GHSA-5mgj-mvv8-46mw , EUVD-2022-2619

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

Summary

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.

Patch / fix

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

debian advisories DEBIAN-CVE-2012-2126

  • 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-2126 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

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

CVSS scores

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

Affected packages

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

Classification

Weakness

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.