ALAS-2019-1255 --- ruby20 rubygems20 rubygem20 ruby21 rubygem21 rubygems21 ruby24 rubygem24 rubygems24ID: oval:org.secpod.oval:def:1601097 | Date: (C)2019-12-23 (M)2022-07-20 |
Class: PATCH | Family: unix |
An issue was discovered in RubyGems. 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.An issue was discovered in RubyGems. Gem::GemcutterUtilities#with_response may output the API response to stdout as it is. Therefore, if the API side modifies the response, escape sequence injection may occur.An issue was discovered in RubyGems. Since Gem::UserInteraction#verbose calls say without escaping, escape sequence injection is possible.A Directory Traversal issue was discovered in RubyGems. Before making new directories or touching files , it would delete the target destination. If that destination was hidden behind a symlink, a malicious gem could delete arbitrary files on the user's machine, presuming the attacker could guess at paths. Given how frequently gem is run as sudo, and how predictable paths are on modern systems , this could likely lead to data loss or an unusable system.An issue was discovered in RubyGems. A crafted gem with a multi-line name is not handled correctly. Therefore, an attacker could inject arbitrary code to the stub line of gemspec, which is eval-ed by code in ensure_loadable_spec during the preinstall check.An issue was discovered in RubyGems. Since Gem::CommandManager#run calls alert_error without escaping, escape sequence injection is possible
Platform: |
Amazon Linux AMI |
Product: |
ruby20 |
rubygems20 |
rubygem20 |
ruby21 |
rubygem21 |
rubygems21 |
ruby24 |
rubygem24 |
rubygems24 |