# CVE-2019-15224: rest-client Gem Contains Malicious Code

Source: https://junglewise.ai/threats/cve-2019-15224-rest-client-gem-contains-malicious-code  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2019-08-20  
License: CC BY 4.0 with a link back

CVE-2019-15224 · Severity: low · CVSS 3 · Published 2019-08-20

rest-client Gem Contains Malicious Code

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

## Quick answers

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

**How severe is CVE-2019-15224?** Low severity, with a CVSS score of 3, published 20 August 2019.

**Which products and versions are affected?** awesome-bot (RubyGems) ECOSYSTEM:introduced=0; bitcoin_vanity (RubyGems) ECOSYSTEM:introduced=0; blockchain_wallet (RubyGems) ECOSYSTEM:introduced=0; capistrano-colors (RubyGems) ECOSYSTEM:introduced=0; and 6 more.

**Is there a fix for CVE-2019-15224?** Yes. rest-client (RubyGems): upgrade to 1.7.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2019-15224?** Check whether you run awesome-bot (RubyGems), bitcoin_vanity (RubyGems), blockchain_wallet (RubyGems) or one of the others listed 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

- rest-client (RubyGems): upgrade to 1.7.0 or later

  ```sh
  bundle update rest-client
  ```


## Affected products

- awesome-bot (RubyGems) ECOSYSTEM:introduced=0
- bitcoin_vanity (RubyGems) ECOSYSTEM:introduced=0
- blockchain_wallet (RubyGems) ECOSYSTEM:introduced=0
- capistrano-colors (RubyGems) ECOSYSTEM:introduced=0
- coin_base (RubyGems) ECOSYSTEM:introduced=0
- coming-soon (RubyGems) ECOSYSTEM:introduced=0
- cron_parser (RubyGems) ECOSYSTEM:introduced=1.0.13,last_affected=1.0.14
- doge-coin (RubyGems) ECOSYSTEM:introduced=0
- omniauth_amazon (RubyGems) ECOSYSTEM:introduced=0
- rest-client (RubyGems) ECOSYSTEM:introduced=1.6.10,fixed=1.7.0

## Identifiers

- CVE-2019-15224
- GHSA-333g-rpr4-7hxq

## Related threats

- [rest-client Gem Vulnerable to Session Fixation](https://junglewise.ai/threats/cve-2015-1820-rest-client-gem-vulnerable-to-session-fixation)
- [rest-client allows local users to obtain sensitive information by reading the log](https://junglewise.ai/threats/cve-2015-3448-rest-client-allows-local-users-to-obtain-sensitive-information-by)
