Remote Code Execution Vulnerability in RubyGems by Ruby
CVE-2017-0903

9.8CRITICAL

Key Information:

Vendor

Hackerone

Status
Vendor
CVE Published:
11 October 2017

What is CVE-2017-0903?

RubyGems, a package manager for the Ruby programming language, contains a vulnerability allowing remote code execution due to unsafe YAML deserialization in gem specifications. Versions from 2.0.0 to 2.6.13 can be exploited by specially crafted serialized objects to bypass class whitelists, ultimately enabling attackers to execute arbitrary code on affected systems. Mitigation involves upgrading to a secure version of RubyGems.

Affected Version(s)

RubyGems Versions >= 2.0.0

References

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.
CVE-2017-0903 : Remote Code Execution Vulnerability in RubyGems by Ruby