RubySec

Providing security resources for the Ruby community

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

ADVISORIES

GEM

rubygems-update

UNAFFECTED VERSIONS

  • < 2.6

PATCHED VERSIONS

  • >= 3.0.3
  • ~> 2.7.9

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.