VDB
CVE-2012-2125
CVE-2012-2125
PUBLISHED
RubyGems HTTPS to HTTP redirect
Reported by redhat · Published October 1, 2013
rubygems-update is fixed in 1.8.23 (RubyGems)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| rubygems-update | RubyGems | 1.8.23 |
| rubygems | rubygems | 1.8.22 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
Timeline
- Apr 20, 2012 CVE Published
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Sep 8, 2025 CVE Updated
- Mar 5, 2026 Distribution Patch (4 in total, the first dated here)
- Mar 5, 2026 Security Advisory (3 in total, the first dated here)
- Oct 27, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2012-2125
vulnetix vdb fixes CVE-2012-2125
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2012-2125/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- 55381 third-party-advisoryx_refsource_SECUNIA
- USN-1582-1 vendor-advisoryx_refsource_UBUNTU
- x_refsource_CONFIRM
- RHSA-2013:1203 vendor-advisoryx_refsource_REDHAT
- x_refsource_MISC
- [oss-security] 20120420 Re: CVE Request -- rubygems: Two security fixes in upstream v1.8.23 version mailing-listx_refsource_MLIST
- RHSA-2013:1852 vendor-advisoryx_refsource_REDHAT
- RHSA-2013:1441 vendor-advisoryx_refsource_REDHAT