Vulnerability Report

CVE-2012-2140

RCE

Title: Rubygems Mail Gem RCE

RCE

Proof Of Concept

No public PoC currently indexed for CVE-2012-2140.

CWE Category CWE-20
Published Date Jul 18, 2012
Modified Date Apr 29, 2026
Exploit Status Not Found
Score 7.5 CVSS v2.0
Exploit Probability (EPSS)
3.67%

Vulnerability Summary

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.

Impacted Vendors

Reference Links

CVSS v2.0
Source Entity [email protected]
Severity HIGH
7.5
Access Vector
N/A
Authentication
N/A
RAW VECTOR AV:N/AC:L/Au:N/C:P/I:P/A:P

Associated Attack Patterns (CAPEC)

Total: Patterns

CVE-2012-2140 Exploits & PoCs (Proof Of Concept)

No public PoCs found in our database for this CVE.

MODIFIED

Vulnerability data updated via NVD.

MODIFIED

Vulnerability data or affected products updated.

PUBLISHED

Vulnerability first announced in NVD.

Attack Vector Matrix

Access Vector N/A
Complexity N/A
Privileges N/A
Interaction NONE
CVSS Vector String AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected Stack

No specific products linked.