GitHub Advisory Database
GHSA-333g-rpr4-7hxq
rest-client Gem Contains Malicious Code
Details
The rest-client gem 1.6.10 through 1.6.13 for Ruby, as distributed on RubyGems.org, included a code-execution backdoor inserted by a third party. Users of an affected version should consider downgrading to the last non-affected version of 1.6.9, or upgrading to 1.7.x. Additionally, a set of other minor gems have been partially or completely yanked and are included in this advisory. These include cron_parser, coin_base, blockchain_wallet, awesome-bot, doge-coin, capistrano-colors, bitcoin_vanity, lita_coin, coming-soon, and omniauth_amazon.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| RubyGems | rest-client | From 1.6.10 before 1.7.0 (fixed in 1.7.0) |
| RubyGems | cron_parser | From 1.0.13 up to and including 1.0.14 |
| RubyGems | cron_parser | 0.1.4 |
| RubyGems | coin_base | All versions, no fix listed |
| RubyGems | blockchain_wallet | All versions, no fix listed |
| RubyGems | awesome-bot | All versions, no fix listed |
| RubyGems | doge-coin | All versions, no fix listed |
| RubyGems | capistrano-colors | All versions, no fix listed |
| RubyGems | bitcoin_vanity | All versions, no fix listed |
| RubyGems | coming-soon | All versions, no fix listed |
| RubyGems | omniauth_amazon | All versions, no fix listed |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-15224
- https://github.com/rest-client/rest-client/issues/713
- https://github.com/rubygems/rubygems.org/issues/2097
- https://github.com/rubygems/rubygems.org/wiki/Gems-yanked-and-accounts-locked#19-aug-2019
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/blockchain_wallet/CVE-2019-15224.yml
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/coin_base/CVE-2019-15224.yml
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/doge-coin/CVE-2019-15224.yml
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lita_coin/CVE-2019-15224.yml
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/omniauth_amazon/CVE-2019-15224.yml
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rest-client/CVE-2019-15224.yml