The deliver function in the sendmail delivery agent (lib/mail/network/delivery_methods/sendmail.rb
) in Ruby Mail gem 2.2.14 and earlier allows remote attackers to execute arbitrary commands via shell metacharacters in an e-mail address.
groups.google.com/group/mail-ruby/browse_thread/thread/e93bbd05706478dd?pli=1
exchange.xforce.ibmcloud.com/vulnerabilities/65010
github.com/mikel/mail
github.com/mikel/mail/raw/master/patches/20110126_sendmail.patch
github.com/rubysec/ruby-advisory-db/blob/master/gems/mail/CVE-2011-0739.yml
nvd.nist.gov/vuln/detail/CVE-2011-0739
web.archive.org/web/20200228225346/www.securityfocus.com/bid/46021