CVE-2012-2126

CVE-2012-2126 is a medium-severity vulnerability in Rubygems with a CVSS 2.0 base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-310.

Key facts

Description

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.

Frequently asked questions

What is CVE-2012-2126?
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.
How severe is CVE-2012-2126?
CVE-2012-2126 has a CVSS 2.0 base score of 4.3, rated medium severity.
Is CVE-2012-2126 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (69th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2012-2126?
CVE-2012-2126 primarily affects Rubygems. In total, 23 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2012-2126?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2012-2126 published?
CVE-2012-2126 was published on 2013-10-01 and last updated on 2026-06-16.

References

Affected products (23)

More vulnerabilities in Rubygems

All CVEs affecting Rubygems →

Other CWE-310 (Cryptographic Issues) vulnerabilities

Browse all CWE-310 (Cryptographic Issues) vulnerabilities →