RubyGems version 2.6.12 and earlier is vulnerable to maliciously crafted gem specifications that include terminal escape characters. Printing the gem specification would execute terminal escape sequences.
{ "availability": "No subscription required", "ubuntu_priority": "negligible", "binaries": [ { "ri1.9.1": "1.9.3.484-2ubuntu1.5", "ruby1.9.1-dbgsym": "1.9.3.484-2ubuntu1.5", "libruby1.9.1-dbg": "1.9.3.484-2ubuntu1.5", "libtcltk-ruby1.9.1-dbgsym": "1.9.3.484-2ubuntu1.5", "libtcltk-ruby1.9.1": "1.9.3.484-2ubuntu1.5", "libruby1.9.1": "1.9.3.484-2ubuntu1.5", "ruby1.9.1-dev-dbgsym": "1.9.3.484-2ubuntu1.5", "libruby1.9.1-dbgsym": "1.9.3.484-2ubuntu1.5", "ruby1.9.1-dev": "1.9.3.484-2ubuntu1.5", "ruby1.9.3": "1.9.3.484-2ubuntu1.5", "ruby1.9.1-full": "1.9.3.484-2ubuntu1.5", "ruby1.9.1-examples": "1.9.3.484-2ubuntu1.5", "ruby1.9.1": "1.9.3.484-2ubuntu1.5" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "negligible", "binaries": [ { "libruby2.3-dbgsym": "2.3.1-2~16.04.6", "ruby2.3-tcltk": "2.3.1-2~16.04.6", "ruby2.3-dev-dbgsym": "2.3.1-2~16.04.6", "libruby2.3-dbg": "2.3.1-2~16.04.6", "ruby2.3-dev": "2.3.1-2~16.04.6", "ruby2.3-dbgsym": "2.3.1-2~16.04.6", "libruby2.3": "2.3.1-2~16.04.6", "ruby2.3-tcltk-dbgsym": "2.3.1-2~16.04.6", "ruby2.3": "2.3.1-2~16.04.6", "ruby2.3-doc": "2.3.1-2~16.04.6" } ] }