RubyGems vulnerable to Deserialization of Untrusted Data
Date: 2022-05
Affected: rubygems/rubygems-update
Attack vector: deserialization
Category: vulnerability-disclosure
Severity: Critical
CVE: CVE-2017-0903
CWE: CWE-502
CVSS: 9.8 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)

RubyGems versions between 2.0.0 and 2.6.13 are vulnerable to a possible remote code execution vulnerability. YAML deserialization of gem specifications can bypass class white lists. Specially crafted serialized objects can possibly be used to escalate to remote code execution. The issue has been patched in 2.6.14.


Mitigations:

Architectural layers (MAESTRO):