Advisory
GHSA-333g-rpr4-7hxq
Also known as: CVE-2019-15224
Summary
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.
Severity
Critical Basis: The source's own band: CRITICAL
Dates
- Published
- 2019-08-20 14:29 UTC
- Modified
- 2024-02-16 08:10 UTC
Affected packages and fixes
| Package | Affected | Fix |
|---|---|---|
| rest-client | introduced 1.6.10, fixed 1.7.0 | The export has no generic command for this ecosystem. |
| cron_parser | introduced 1.0.13, last affected 1.0.14 | No fixed version is listed. |
| cron_parser | Versions 0.1.4 | No fixed version is listed. |
| coin_base | introduced 0 | No fixed version is listed. |
| blockchain_wallet | introduced 0 | No fixed version is listed. |
| awesome-bot | introduced 0 | No fixed version is listed. |
| doge-coin | introduced 0 | No fixed version is listed. |
| capistrano-colors | introduced 0 | No fixed version is listed. |
| bitcoin_vanity | introduced 0 | No fixed version is listed. |
| coming-soon | introduced 0 | No fixed version is listed. |
| omniauth_amazon | introduced 0 | No fixed version is listed. |
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
- 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
Source
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0