# CVE-2012-2125

- Priority: **Routine**
- Reason: Not severe (CVSS 5.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2013-10-01 · Modified: 2024-08-06
- Aliases: UBUNTU-CVE-2012-2125, DEBIAN-CVE-2012-2125, GHSA-228f-g3h7-3fj3
- Record: https://cvemate.com/vulnerability/CVE-2012-2125 · JSON: https://cvemate.com/vulnerability/CVE-2012-2125/json

## Description

```text
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.
```

## Signals

- CVSS: 5.8 medium (v2.0, NVD) AV:N/AC:M/Au:N/C:P/I:P/A:N
- EPSS: 2.467%, percentile 85.021%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian rubygems (Debian): \< 1.8.24-1
- ubuntu jruby (Ubuntu): All versions (No fix recorded)
- RubyGems rubygems-update (RubyGems): \< 1.8.23
- rubygems rubygems: ≤ 1.8.22 \| 1.8.0 \| 1.8.1 \| 1.8.2 \| 1.8.3 \| 1.8.4 \| 1.8.5 \| 1.8.6 \| 1.8.7 \| 1.8.8 \| 1.8.9 \| 1.8.10 \| 1.8.11 \| 1.8.12 \| 1.8.13 \| 1.8.14 \| 1.8.15 \| 1.8.16 \| 1.8.17 \| 1.8.18 \| 1.8.19 \| 1.8.20 \| 1.8.21

## References

- <http://secunia.com/advisories/55381>
- <http://www.ubuntu.com/usn/USN-1582-1/>
- <https://github.com/rubygems/rubygems/blob/1.8/History.txt>
- <http://rhn.redhat.com/errata/RHSA-2013-1203.html>
- <https://bugzilla.redhat.com/show_bug.cgi?id=814718>
- <http://www.openwall.com/lists/oss-security/2012/04/20/24>
- <http://rhn.redhat.com/errata/RHSA-2013-1852.html>
- <http://rhn.redhat.com/errata/RHSA-2013-1441.html>
- <https://ubuntu.com/security/CVE-2012-2125>
- <http://www.openwall.com/lists/oss-security/2012/04/20>
- <http://www.ruby-lang.org/en/news/2012/04/20/ruby-1-9-3-p194-is-released/>
- <https://ubuntu.com/security/notices/USN-1582-1>
- <https://ubuntu.com/security/notices/USN-1583-1>
- <https://www.cve.org/CVERecord?id=CVE-2012-2125>
- <https://security-tracker.debian.org/tracker/CVE-2012-2125>
- <https://nvd.nist.gov/vuln/detail/CVE-2012-2125>
- <https://github.com/rubygems/rubygems>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rubygems-update/CVE-2012-2125.yml>
- <http://www.ubuntu.com/usn/USN-1582-1>

---

Data as of 2026-12-05T07:44:21.386Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
