Mail Gem for Ruby lib/mail/network/delivery_methods/sendmail.rb Email From: Address Arbitrary Shell Command Injection


2017-06-16 20:03
2017-06-16 18:56
2017-04-01 19:10
2017-01-05 20:14


Mail Gem for Ruby contains a flaw related to the failure to properly sanitise
input passed from an email from address in the 'deliver()' function in
'lib/mail/network/delivery_methods/sendmail.rb' before being used as a
command line argument. This may allow a remote attacker to inject arbitrary
shell commands.

Am I vulnerable?

The constraints below list the versions that this vulnerability is patched in, and versions that are unaffected. If a patch is ready but unrealeased, then it is pending.

Or, you can just let us figure it out for you! Appcanary continously monitor your installed packages, and tell you if any of them are vulnerable.

Sign up for monitoring

Affected package information

Package Patched in Unaffected in
mail >= 2.2.15 None