# CVE-2012-2125: RubyGems HTTPS to HTTP redirect

Source: https://junglewise.ai/threats/cve-2012-2125-rubygems-https-to-http-redirect  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-17  
License: CC BY 4.0 with a link back

CVE-2012-2125 · Severity: info · Published 2022-05-17

RubyGems HTTPS to HTTP redirect

Technologies: [rubygems-update (RubyGems)](https://junglewise.ai/threats/technologies/rubygems-update). Vendors: [RubyGems](https://junglewise.ai/threats/vendors/rubygems).

## Quick answers

**Is CVE-2012-2125 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2012-2125 being exploited in the wild.

**How severe is CVE-2012-2125?** Informational severity, published 17 May 2022.

**Which products and versions are affected?** rubygems-update (RubyGems) ECOSYSTEM:introduced=0,fixed=1.8.23.

**Is there a fix for CVE-2012-2125?** Yes. rubygems-update (RubyGems): upgrade to 1.8.23 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2012-2125?** Check whether you run rubygems-update (RubyGems) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- rubygems-update (RubyGems): upgrade to 1.8.23 or later

  ```sh
  bundle update rubygems-update
  ```


## Affected products

- rubygems-update (RubyGems) ECOSYSTEM:introduced=0,fixed=1.8.23

## Identifiers

- CVE-2012-2125
- GHSA-228f-g3h7-3fj3

## Related threats

- [RubyGems does not verify SSL certificate](https://junglewise.ai/threats/cve-2012-2126-rubygems-does-not-verify-ssl-certificate)
- [RubyGems Improper Input Validation vulnerability](https://junglewise.ai/threats/cve-2015-4020-rubygems-improper-input-validation-vulnerability)
- [RubyGems Regular Expression Denial of Service](https://junglewise.ai/threats/cve-2013-4363-rubygems-regular-expression-denial-of-service)
- [RubyGems Path Traversal vulnerability](https://junglewise.ai/threats/cve-2018-1000079-rubygems-path-traversal-vulnerability)
- [RubyGems vulnerable to DNS hijack attack](https://junglewise.ai/threats/cve-2015-3900-rubygems-vulnerable-to-dns-hijack-attack)
