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.

PackageEcosystemFixed in
rubygems-updateRubyGems1.8.23
rubygemsrubygems1.8.22

Affected products

VendorProductVersions
n/an/an/a
n/an/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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›