{"id":"GHSA-cpjc-p7fc-j9xh","summary":"Mail Improper Input Validation vulnerability","details":"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.","aliases":["CVE-2011-0739"],"modified":"2024-12-03T06:08:10.244044Z","published":"2017-10-24T18:33:38Z","database_specific":{"github_reviewed_at":"2020-06-16T21:32:10Z","nvd_published_at":"2011-02-02T01:00:07Z","cwe_ids":["CWE-20"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2011-0739"},{"type":"WEB","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/65010"},{"type":"PACKAGE","url":"https://github.com/mikel/mail"},{"type":"WEB","url":"https://github.com/mikel/mail/raw/master/patches/20110126_sendmail.patch"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mail/CVE-2011-0739.yml"},{"type":"WEB","url":"https://web.archive.org/web/20200228225346/http://www.securityfocus.com/bid/46021"},{"type":"WEB","url":"http://groups.google.com/group/mail-ruby/browse_thread/thread/e93bbd05706478dd?pli=1"}],"affected":[{"package":{"name":"mail","ecosystem":"RubyGems","purl":"pkg:gem/mail"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.15"}]}],"versions":["1.0.0","1.1.0","1.2.1","1.2.5","1.2.6","1.2.8","1.2.9","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.4.0","1.4.1","1.4.2","1.4.3","1.5.0","1.5.1","1.5.2","1.5.3","1.5.4","1.6.0","2.0.3","2.0.5","2.1.0","2.1.1","2.1.2","2.1.3","2.1.5","2.1.5.1","2.1.5.2","2.1.5.3","2.2.0","2.2.1","2.2.10","2.2.11","2.2.12","2.2.13","2.2.14","2.2.2","2.2.3","2.2.4","2.2.5","2.2.5.1","2.2.5.2","2.2.6","2.2.6.1","2.2.7","2.2.9","2.2.9.1"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-cpjc-p7fc-j9xh/GHSA-cpjc-p7fc-j9xh.json"}}],"schema_version":"1.9.0"}