
CVE catalog
CVE-2012-2126
rubygems: CVE-2012-2126
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.36% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rubygems | sid | 4.0.22-1 | fixed |
| Debian | rubygems | forky | 4.0.22-1 | fixed |
| Debian | rubygems | trixie | 3.6.7-2 | fixed |
| Debian | rubygems | bookworm | 3.3.15-2+deb12u1 | fixed |
| Ubuntu | jruby | pro | 1.5.6-5ubuntu1 | vulnerable |
| Ubuntu | jruby | pro | 1.5.6-6 | vulnerable |
| Ubuntu | jruby | pro | 1.5.6-7 | vulnerable |
| Ubuntu | jruby | pro | 1.5.6-9+deb8u2build0.14.04.1~esm2 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rubygems | source | sid | 1.8.24-1 | not yet assigned | Not reported | [670228] |
| Debian | rubygems | source | forky | 1.8.24-1 | not yet assigned | Not reported | [670228] |
| Debian | rubygems | source | trixie | 1.8.24-1 | not yet assigned | Not reported | [670228] |
| Debian | rubygems | source | bookworm | 1.8.24-1 | not yet assigned | Not reported | [670228] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [bundler]Fixed
Source package: [rubygems]
Details (2)
2.3.15-2+deb12u1· all · bookwormFixed · Fixed:
1.8.24-1dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12
2.3.15-2+deb12u1· all · bookwormFixed · Fixed:
1.8.24-1dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12
- [ruby-bundler]Fixed
Source package: [rubygems]
Details (2)
2.3.15-2+deb12u1· all · bookwormFixed · Fixed:
1.8.24-1dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12
2.3.15-2+deb12u1· all · bookwormFixed · Fixed:
1.8.24-1dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12
- [ruby-rubygems]Fixed
Source package: [rubygems]
Details (2)
3.3.15-2+deb12u1· all · bookwormFixed · Fixed:
1.8.24-1dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12
3.3.15-2+deb12u1· all · bookwormFixed · Fixed:
1.8.24-1dsa · rubygems · debian · bookworm; dsa · rubygems · debian · 12
[Debian 13 (Trixie)]
- [bundler]Fixed
Source package: [rubygems]
Details (2)
2.6.7-2· all · trixieFixed · Fixed:
1.8.24-1dsa · rubygems · debian · 13
2.6.7-2· all · trixieFixed · Fixed:
1.8.24-1dsa · rubygems · debian · 13
- [ruby-bundler]Fixed
Source package: [rubygems]
Details (2)
2.6.7-2· all · trixieFixed · Fixed:
1.8.24-1dsa · rubygems · debian · 13
2.6.7-2· all · trixieFixed · Fixed:
1.8.24-1dsa · rubygems · debian · 13
- [ruby-rubygems]Fixed
Source package: [rubygems]
Details (2)
3.6.7-2· all · trixieFixed · Fixed:
1.8.24-1dsa · rubygems · debian · 13
3.6.7-2· all · trixieFixed · Fixed:
1.8.24-1dsa · rubygems · debian · 13
Observed:
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2012-2126]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2012-2126]
- [https://security-tracker.debian.org/tracker/CVE-2012-2126]
- [https://security.access.redhat.com/data/csaf/v2/vex/2012/cve-2012-2126.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]