CVE-2012-2126
UnknownEPSS 1.36%
Last modified
CVE-2012-2126 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 1.36% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rubygems | Rubygems | <= 1.8.22 |
| Rubygems | Rubygems | 1.8.0 |
| Rubygems | Rubygems | 1.8.1 |
| Rubygems | Rubygems | 1.8.2 |
| Rubygems | Rubygems | 1.8.3 |
| Rubygems | Rubygems | 1.8.4 |
| Rubygems | Rubygems | 1.8.5 |
| Rubygems | Rubygems | 1.8.6 |
| Rubygems | Rubygems | 1.8.7 |
| Rubygems | Rubygems | 1.8.8 |
| Rubygems | Rubygems | 1.8.9 |
| Rubygems | Rubygems | 1.8.10 |
| Rubygems | Rubygems | 1.8.11 |
| Rubygems | Rubygems | 1.8.12 |
| Rubygems | Rubygems | 1.8.13 |
| Rubygems | Rubygems | 1.8.14 |
| Rubygems | Rubygems | 1.8.15 |
| Rubygems | Rubygems | 1.8.16 |
| Rubygems | Rubygems | 1.8.17 |
| Rubygems | Rubygems | 1.8.18 |
| Rubygems | Rubygems | 1.8.19 |
| Rubygems | Rubygems | 1.8.20 |
| Rubygems | Rubygems | 1.8.21 |
References
- https://github.com/rubygems/rubygems/blob/1.8/History.txtPatch, Vendor Advisory
- https://github.com/rubygems/rubygems/blob/1.8/History.txtPatch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
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?
Severity scoring for CVE-2012-2126 is pending analysis. The EPSS model estimates a 1.36% probability of exploitation in the next 30 days.
How do I fix CVE-2012-2126?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2012
- CVE-2012-2120latex2man in texlive-extra-utils 2011.20120322, and possibly…
- CVE-2012-2121The KVM implementation in the Linux kernel before 3.3.4 does…
- CVE-2012-2122sql/password.c in Oracle MySQL 5.1.x before 5.1.63, 5.5.x be…
- CVE-2012-2123The cap_bprm_set_creds function in security/commoncap.c in t…
- CVE-2012-2124functions/imap_general.php in SquirrelMail, as used in Red H…
- CVE-2012-2125RubyGems before 1.8.23 can redirect HTTPS connections to HTT…
- CVE-2012-2127fs/proc/root.c in the procfs implementation in the Linux ker…
- CVE-2012-2128Cross-site request forgery (CSRF) vulnerability in doku.php …
- CVE-2012-2129Cross-site scripting (XSS) vulnerability in doku.php in Doku…
- CVE-2012-2130A Security Bypass vulnerability exists in PolarSSL 0.99pre4 …7.4
- CVE-2012-2131Multiple integer signedness errors in crypto/buffer/buffer.c…
- CVE-2012-2132libsoup 2.32.2 and earlier does not validate certificates or…
Are you affected by CVE-2012-2126?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
