National Vulnerability Database

National Vulnerability Database

National Vulnerability
Database

CVE-2012-2140 Detail

Current Description

The Mail gem before 2.4.3 for Ruby allows remote attackers to execute arbitrary commands via shell metacharacters in a (1) sendmail or (2) exim delivery.

Source:  MITRE
View Analysis Description

Severity



CVSS 3.x Severity and Metrics:

NIST CVSS score
NIST: NVD
Base Score: N/A
NVD score not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to nvd@nist.gov.

Hyperlink Resource
http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.html
http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.html
http://www.openwall.com/lists/oss-security/2012/04/25/8
http://www.openwall.com/lists/oss-security/2012/04/26/1
https://bugzilla.novell.com/show_bug.cgi?id=759092
https://bugzilla.redhat.com/show_bug.cgi?id=816352
https://github.com/mikel/mail/blob/9beb079c70d236a5ad2e1ba95b2c977e55deb7af/CHANGELOG.rdoc
https://github.com/mikel/mail/commit/39b590ddb08f90ddbe445837359a2c8843e533d0 Exploit Patch
https://github.com/mikel/mail/commit/ac56f03bdfc30b379aeecd4ff317d08fdaa328c2 Exploit Patch

Weakness Enumeration

CWE-ID CWE Name Source
CWE-20 Improper Input Validation NIST  

Known Affected Software Configurations Switch to CPE 2.2

Configuration 1 ( hide )
 cpe:2.3:a:rubygems:mail_gem:2.3.2:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:mail_gem:2.3.3:*:*:*:*:*:*:*
     Show Matching CPE(s)
 cpe:2.3:a:rubygems:mail_gem:*:*:*:*:*:*:*:*
     Show Matching CPE(s)
Up to (including)
2.4.1


Change History

1 change record found - show changes

Quick Info

CVE Dictionary Entry:
CVE-2012-2140
NVD Published Date:
07/18/2012
NVD Last Modified:
10/30/2012