GHSA-333g-rpr4-7hxq
rest-client Gem Contains Malicious Code
Quick fix
GHSA-333g-rpr4-7hxq — rest-client: upgrade to the fixed version with the command below.
bundle update rest-clientDetails
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
1.0.13No fixed version published yet for cron_parser (bundler). Pin to a known-safe version or switch to an alternative.
No fixed version published yet for cron_parser (bundler). Pin to a known-safe version or switch to an alternative.
0No fixed version published yet for coin_base (bundler). Pin to a known-safe version or switch to an alternative.
0No fixed version published yet for blockchain_wallet (bundler). Pin to a known-safe version or switch to an alternative.
0No fixed version published yet for awesome-bot (bundler). Pin to a known-safe version or switch to an alternative.
0No fixed version published yet for doge-coin (bundler). Pin to a known-safe version or switch to an alternative.
0No fixed version published yet for capistrano-colors (bundler). Pin to a known-safe version or switch to an alternative.
0No fixed version published yet for bitcoin_vanity (bundler). Pin to a known-safe version or switch to an alternative.
0No fixed version published yet for coming-soon (bundler). Pin to a known-safe version or switch to an alternative.
0No fixed version published yet for omniauth_amazon (bundler). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-15224[ADVISORY]
- https://github.com/rest-client/rest-client/issues/713[WEB]
- https://github.com/rubygems/rubygems.org/issues/2097[WEB]
- https://github.com/rubygems/rubygems.org/wiki/Gems-yanked-and-accounts-locked#19-aug-2019[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/blockchain_wallet/CVE-2019-15224.yml[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/coin_base/CVE-2019-15224.yml[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/doge-coin/CVE-2019-15224.yml[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/lita_coin/CVE-2019-15224.yml[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/omniauth_amazon/CVE-2019-15224.yml[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rest-client/CVE-2019-15224.yml[WEB]