synced 6 MIN AGO
01 Record

CVE-2012-2140

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.

UnratedPUBLISHEDCNA: redhat
CNA base scoreUnratedNo CNA CVSS vector

02 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.

03 Exploitation and scoring

Exploitation
Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
SSVC decision
Not assessed by CISA
EPSS probability
4.46% probability of exploitation activity in the next 30 days.
EPSS percentile
Equal to or higher than the score of 91.1% of scored records. A rank, not a probability.
NVD base score
The NVD has published no score for this record
NVD CVSS vector
No NVD score to derive
NVD analysis status
Modified. NVD last modified this record on 2026-06-16.
Red Hat severity
Important. Red Hat's rating for its own products, not a CVSS rating.

Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.

04 Metadata

Published
2012-07-18 18:00Z14 YR AGO
Last updated
2024-08-06 19:26Z2 YR AGO
Reserved
2012-04-04
Assigning CNA
redhat
Record state
PUBLISHED
Severity
Not rated by the issuing CNA
CNA CVSS vector
Not published by the issuing CNA
Weaknesses
  • CWE-20Improper Input ValidationClass
  • CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')Base
Data version
5.1
Document digest
65afb6f06d3b457bb0d8fae82020a16d1f6af8235e27fd68204ac4ce228a57f3

05 Affected products

VendorProductVersionsPlatforms
cloudforms_cloudengine1Not specified—
rhel_sam1Not specified—
rubygemsmail_gemNot specified—

06 References

07 Fixed in

Debian 12

  • ruby-mail
    Fixed in 2.4.4-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 13

  • ruby-mail
    Fixed in 2.4.4-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

Debian 14

  • ruby-mail
    Fixed in 2.4.4-1

Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.

A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.