PT-2018-1454 · Ruby · Active Support

Reed

·

Published

2018-08-09

·

Updated

2019-10-09

·

CVE-2018-3779

CVSS v3.1

10

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions active-support ruby gem version 5.2.0
Description The issue is related to the presence of a malicious backdoor in the active-support ruby gem, which could allow a remote attacker to execute arbitrary code on the system. This is caused by the gem containing hidden malicious code. An attacker could exploit this to execute arbitrary code on the system. The gem is a trojan horse that duplicates the official activesupport gem but adds a compiled extension. This extension attempts to resolve a base64 encoded domain, downloads a payload, and executes it.
Recommendations For active-support ruby gem version 5.2.0, consider removing or avoiding the use of this gem entirely, as no version is considered safe. As a temporary workaround, consider restricting access to any systems that have this gem installed to minimize the risk of exploitation. Avoid using any functionality provided by this gem until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Command Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2018-01005
CVE-2018-3779
GHSA-2J55-PCW5-X4H2

Affected Products

Active Support