Red Hat Customer Portal

Skip to main content


Public Date:
816352: CVE-2012-2140 rubygem-mail: arbitrary command execution when using exim or sendmail from commandline

The MITRE CVE dictionary describes this issue as:

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.

Find out more about CVE-2012-2140 from the MITRE CVE dictionary dictionary and NIST NVD.

CVSS v2 metrics

NOTE: The following CVSS v2 metrics and score provided are preliminary and subject to review.

Base Score 7.5
Base Metrics AV:N/AC:L/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial

Find out more about Red Hat support for the Common Vulnerability Scoring System (CVSS).

Red Hat Security Errata

Platform Errata Release Date
Red Hat CloudForms System Engine 1 (rubygem-mail) RHSA-2012:1542 2012-12-04
Red Hat CloudForms Cloud Engine 1 (rubygem-mail) RHSA-2012:1542 2012-12-04