GHSA-333g-rpr4-7hxq
rest-client Gem Contains Malicious Code
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| RubyGems | rest-client | >= 1.6.10, < 1.7.0 | 1.7.0 |
| RubyGems | cron_parser | >= 1.0.13, <= 1.0.14 | no fix listed |
| RubyGems | cron_parser | 0.1.4 | no fix listed |
| 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 |
Details
As written in the advisory (Markdown source, shown as plain text).
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.
References
External links from the advisory. They lead to third-party sites.
- 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