CriticalGHSA-333g-rpr4-7hxqCVE-2019-15224

rest-client Gem Contains Malicious Code

Published 20 Aug 2019 · Updated 16 Feb 2024

Is your project on an affected rest-client?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

rest-clientRubyGems
Affected
>=1.6.10 <1.7.0
Fixed in
1.7.0
Update to the fixed version for your release line, for example:bundle update --conservative rest-client # Gemfile: '>= 1.7.0'
cron_parserRubyGems
Affected
>=1.0.13 <=1.0.14
Fixed in
No fix released
cron_parserRubyGems
Affected
0.1.4
Fixed in
No fix released
coin_baseRubyGems
Affected
All versions
Fixed in
No fix released
Affected
All versions
Fixed in
No fix released
awesome-botRubyGems
Affected
All versions
Fixed in
No fix released
doge-coinRubyGems
Affected
All versions
Fixed in
No fix released
Affected
All versions
Fixed in
No fix released
Affected
All versions
Fixed in
No fix released
coming-soonRubyGems
Affected
All versions
Fixed in
No fix released
Affected
All versions
Fixed in
No fix released

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.

Is GHSA-333g-rpr4-7hxq in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected rest-client, and gives you the command that fixes it.

More advisories for rest-client

  • CriticalCVE-2015-1820rest-client Gem Vulnerable to Session Fixation · 13 Aug 2018
  • LowCVE-2015-3448rest-client allows local users to obtain sensitive information by reading the log · 24 Oct 2017
rest-client security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.