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.
{
"cwe_ids": [
"CWE-20"
],
"github_reviewed": true,
"nvd_published_at": "2011-02-02T01:00:07Z",
"severity": "MODERATE",
"github_reviewed_at": "2020-06-16T21:32:10Z"
}