CVE-2012-2140
Summary
| CVE | CVE-2012-2140 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2012-07-18 18:55:01 UTC |
| Updated | 2026-04-29 01:13:23 UTC |
| 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. |
Risk And Classification
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
PartialIntegrity
PartialAvailability
PartialAV:N/AC:L/Au:N/C:P/I:P/A:P
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| mail/CHANGELOG.rdoc at 9beb079c70d236a5ad2e1ba95b2c977e55deb7af · mikel/mail · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | |
| Fix security vulnerability allowing command line exploit when using e… · mikel/mail@ac56f03 · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Exploit, Patch |
| Making sure that destinations are also properly escaped in all versio… · mikel/mail@39b590d · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Exploit, Patch |
| 816352 – (CVE-2012-2140) CVE-2012-2140 rubygem-mail: arbitrary command execution when using exim or sendmail from commandline | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | |
| About Secunia Research | Flexera | af854a3a-2127-422b-91ae-364da2661108 | secunia.com | Vendor Advisory |
| oss-security - Re: CVE request: two flaws fixed in rubygem-mail 2.4.4 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| oss-security - CVE request: two flaws fixed in rubygem-mail 2.4.4 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | |
| [SECURITY] Fedora 15 Update: rubygem-actionmailer-3.0.5-3.fc15 | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| [SECURITY] Fedora 17 Update: rubygem-actionmailer-3.0.11-2.fc17 | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| [SECURITY] Fedora 16 Update: rubygem-actionmailer-3.0.10-2.fc16 | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | |
| Access Denied | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.novell.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.