# CVE-2015-4020: RubyGems Improper Input Validation vulnerability

Source: https://junglewise.ai/threats/cve-2015-4020-rubygems-improper-input-validation-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2022-05-17  
License: CC BY 4.0 with a link back

CVE-2015-4020 · Severity: info · Published 2022-05-17

RubyGems Improper Input Validation vulnerability

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

## Quick answers

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

**How severe is CVE-2015-4020?** Informational severity, published 17 May 2022.

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

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

**Am I affected by CVE-2015-4020?** 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 2.0.17 or later

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


## Affected products

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

## Identifiers

- CVE-2015-4020
- GHSA-qv62-xfj6-32xm

## Related threats

- [RubyGems HTTPS to HTTP redirect](https://junglewise.ai/threats/cve-2012-2125-rubygems-https-to-http-redirect)
- [RubyGems does not verify SSL certificate](https://junglewise.ai/threats/cve-2012-2126-rubygems-does-not-verify-ssl-certificate)
- [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)
