Skip to content

rest-client Gem Contains Malicious Code

Critical severity GitHub Reviewed Published Aug 20, 2019 to the GitHub Advisory Database • Updated Aug 28, 2023

Package

bundler awesome-bot (RubyGems)

Affected versions

>= 0

Patched versions

None
bundler bitcoin_vanity (RubyGems)
>= 0
None
bundler blockchain_wallet (RubyGems)
>= 0
None
bundler capistrano-colors (RubyGems)
>= 0
None
bundler coin_base (RubyGems)
>= 0
None
bundler coming-soon (RubyGems)
>= 0
None
bundler cron_parser (RubyGems)
>= 1.0.13, <= 1.0.14
= 0.1.4
None
bundler doge-coin (RubyGems)
>= 0
None
bundler omniauth_amazon (RubyGems)
>= 0
None
bundler rest-client (RubyGems)
>= 1.6.10, <= 1.6.13
1.7.0

Description

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

Published by the National Vulnerability Database Aug 19, 2019
Reviewed Aug 20, 2019
Published to the GitHub Advisory Database Aug 20, 2019
Last updated Aug 28, 2023

Severity

Critical

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS score

0.361%
(73rd percentile)

Weaknesses

CVE ID

CVE-2019-15224

GHSA ID

GHSA-333g-rpr4-7hxq

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.