{"id":"CVE-2011-0739","aliases":["EUVD-2017-0220","GHSA-cpjc-p7fc-j9xh"],"status":"published","title":"Mail Improper Input Validation vulnerability","description":"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.","severity":{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02706,"percentile":0.86057,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2011-02-02T00:00:00Z","modified":"2026-06-16T23:27:59Z","fixes":[{"ecosystem":"RubyGems","package":"mail","fixed_in":["2.2.15"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"mail","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.2.15"}]}]},{"source":"osv","ecosystem":"RubyGems","package":"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"]}],"products":[{"vendor":"mikel_lindsaar","product":"mail"}],"references":[{"url":"http://www.vupen.com/english/advisories/2011/0233","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Vendor Advisory"]},{"url":"http://groups.google.com/group/mail-ruby/browse_thread/thread/e93bbd05706478dd?pli=1","tags":["x_refsource_CONFIRM","x_transferred","Patch","web"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/65010","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"http://www.securityfocus.com/bid/46021","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"https://github.com/mikel/mail/raw/master/patches/20110126_sendmail.patch","tags":["x_refsource_MISC","x_transferred","Patch","web"]},{"url":"http://secunia.com/advisories/43077","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Vendor Advisory"]},{"url":"http://osvdb.org/70667","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2011-0739","tags":["advisory"]},{"url":"https://web.archive.org/web/20200228225346/http://www.securityfocus.com/bid/46021","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/mail/CVE-2011-0739.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-cpjc-p7fc-j9xh"},{"url":"https://github.com/mikel/mail","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2011-0739","description":"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.","status":"published","published":"2011-02-02T00:00:00Z","modified":"2024-08-06T22:05:52.97Z","updated_at":"2026-11-02T14:35:39.079595Z"}],"euvd":[{"id":"EUVD-2017-0220","description":"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.","status":"published","published":"2011-02-02T00:00:00Z","modified":"2024-08-06T22:05:52Z","updated_at":"2026-11-03T01:55:59.230529Z"}],"ghsa":[{"id":"GHSA-cpjc-p7fc-j9xh","title":"Mail Improper Input Validation vulnerability","description":"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.","status":"published","published":"2017-10-24T18:33:38Z","modified":"2023-11-04T05:04:40Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:37:12.407027Z"}],"nvd":[{"id":"CVE-2011-0739","description":"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.","status":"published","published":"2011-02-02T01:00:07.157Z","modified":"2026-06-16T23:27:59.24Z","cvss":[{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:06.042049Z"}],"osv":[{"id":"GHSA-cpjc-p7fc-j9xh","title":"Mail Improper Input Validation vulnerability","description":"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.","status":"published","published":"2017-10-24T18:33:38Z","modified":"2024-12-03T06:08:10.244044Z","cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:45.28161Z"}]}}
