Arbitrary Shell Command Injection Affecting mail package, versions < 2.2.15


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.33% (86th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Shell Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-MAIL-20013
  • published24 Jan 2011
  • disclosed24 Jan 2011
  • creditAndy Lindeman, Steven Lorek

Introduced: 24 Jan 2011

CVE-2011-0739  (opens in a new tab)
CWE-77  (opens in a new tab)

Overview

mail is a Ruby Mail handler gem.

Affected versions of this gem do not 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.

CVSS Scores

version 3.1