RubySec

Providing security resources for the Ruby community

CVE-2019-8322 (rubygems-update): Escape sequence injection vulnerability in gem owner

Escape sequence injection vulnerability in gem owner

Published: March 05, 2019

SECURITY IDENTIFIERS

GEM

rubygems-update

LIBRARY

RubyGems

SEVERITY

CVSS v3.x: 7.5 (High)

UNAFFECTED VERSIONS

< 2.6

PATCHED VERSIONS

~> 2.7.9 >= 3.0.3

DESCRIPTION

An issue was discovered in RubyGems 2.6 and later through 3.0.2. The gem owner command outputs the contents of the API response directly to stdout. Therefore, if the response is crafted, escape sequence injection may occur.