CVE-2012-2140
publishedrubygem-mail: arbitrary command execution when using exim or sendmail from commandline
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
11- FEDORA-2012-7692 http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080645.html
- FEDORA-2012-7535 http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080648.html
- FEDORA-2012-7619 http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080747.html
- 48970 http://secunia.com/advisories/48970
- [oss-security] 20120425 CVE request: two flaws fixed in rubygem-mail 2.4.4 http://www.openwall.com/lists/oss-security/2012/04/25/8
- [oss-security] 20120425 Re: CVE request: two flaws fixed in rubygem-mail 2.4.4 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
- https://github.com/mikel/mail/commit/ac56f03bdfc30b379aeecd4ff317d08fdaa328c2
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- d146ac9240b0a5bc4f8df1079b161f8fca8e12ea87c6fc7eec2dd9ebd1e5bd57
- Ingested
- 23 Sep 2026, 07:39:15 UTC
- Source record
- Official CVE record