Mail Gem for Ruby lib/mail/network/delivery_methods/sendmail.rb Email From: Address Arbitrary Shell Command Injection
Published: January 25, 2011
SECURITY IDENTIFIERS
- CVE: CVE-2011-0739 (NVD)
- GHSA: GHSA-cpjc-p7fc-j9xh
- OSVDB: OSVDB-70667
GEM
SEVERITY
CVSS v2.0: 6.8 (Medium)
PATCHED VERSIONS
>= 2.2.15
DESCRIPTION
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.
